210 Topics

Member Avatar for
Member Avatar for samkri

I am developing a C# Windows Form Application. Now i am trying to select value from Listbox and load corresponding value in List view using the stored procedure. And this is my stored Procedure: ALTER PROCEDURE [dbo].[spPOExport] @BST_BESTELLUNG INT AS BEGIN SELECT BH.BST_LIEFERANT AS Product Name, BZ.BDT_REFNUMMER AS Unit Price, …

Member Avatar for hericles
0
313
Member Avatar for Qromium

Closing my program saves the entire listview. Opening the program restores the entire listview, however, each item loses it's ImageKey. How do I restore the ImageKey when reopening the program? A better way of putting it: If any item in the listview has the same name as any item from …

Member Avatar for Qromium
0
257
Member Avatar for lincemiope

Hi, I'm not sure if this is the correct section to post my question in, but since my problem refers to xaml scripting I guess so. I added a listview in my win store app from which the user can choose among several elements and click the one she wants …

0
183
Member Avatar for junglefury

Hello daniweb, I would like to us if it possible to search using two boxes from listview in vb6… First text box is for company name then the second box is for Number…the idea is that search first in the first textbox(companyname) then the second textbox (number)will search based on …

0
121
Member Avatar for Gulzar_1
Member Avatar for Gulzar_1
0
97
Member Avatar for JOSheaIV

Alright this is reallly stumping me and rather aggravating. Long story short, I didn't like how the ListView worked in C#, so I decided it was time to build my own, using a TableLayoutPanel and a custom control I built to emulate the image and text effect. Well while testing …

Member Avatar for JOSheaIV
0
445
Member Avatar for Benjamin_4

Hi guys, i wanted to find out if its possible to use just a single listView for different activities. For instance i have three activities (Pending Jobs, Incoming Jobs, Closed Jobs) which are supposed to use a ListView, as at now i have created ListViews for all three activities but …

Member Avatar for peter_budo
0
139
Member Avatar for Doogledude123

Does clear use removeAll method for listViews? I have a program that reads a file and stores the data in multiple arrays. I then use that data from the arrays to display them in a ListView, TextFields, a ComboBox, and a TextArea. I am also using an ActionListener to get …

0
179
Member Avatar for Doogledude123

Okay, so I have a ListView populated by an Array, which is populated by a text file. I also have 3 TextBoxes which are changed to different values in multiple Arrays using the Selected Index. My problem occurs when reloading the ListView after saving the text file. The values from …

Member Avatar for JamesCherrill
0
696
Member Avatar for fakehealer

I have a 5 listview listview1 has two columns listview2 has one column listview3 has one column listview4 has one column listview5 has five column now i want this scenario in every column of listview5 in listview5 columns first column of listview5 is equal to listview1 first column the second …

Member Avatar for JobPencil
0
451
Member Avatar for DeepKiran

I Have A DataTable In MSAccess TbJform and I want to Show the Columns of TbJform in ListView.................The Columns Are JformNo,JformDate,PartyName,Bags,Packing,Loose etc.............now what sholud i do to show the all the colmns in listview...

Member Avatar for DeepKiran
0
207
Member Avatar for darrylnuyda

Hi EveryOne, Can I ask your help/suggestion: click a button to open popup window, how can i carry the one of col. info to parent window's text box when user double click the row in listview in popup window. I have a code collected in the online for PopUpform: private …

Member Avatar for darrylnuyda
0
4K
Member Avatar for Abigail.Galingan

how can i display selected records from my database(phpmyadmin) in listview using a search button? any reply will be a great help for me.. thank you.

Member Avatar for tinstaafl
0
200
Member Avatar for anielyn

hi, is it possible to sum all the items/value inside the columns of a listview? here's the situation.. assume that... Product Price J&J 45 <-----inside listview M&M 35 <-----inside listview ___________ 80 <------this will be displayed in a label please, i need help..

0
163
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Member Avatar for oussama_1
0
362
Member Avatar for natsume57

hi, can somebody help me? i am using visual basic 6.0 with microsoft access 2003 database i have a form that view the data from the database through the listview my problem is it says Compile Error: Method or data member not found heres my code Private Sub Form_Load() Dim …

Member Avatar for Reverend Jim
0
1K
Member Avatar for johnnyboy123

Hi everyone, I am quite new to vb.net. Recently, I've been learning about Oledb commands and it's ability to save records in a form to a database. So, I started a project and now I am stuck. Here's the scenario: The form comprises of several comboboxes, a listview box and …

Member Avatar for Reverend Jim
0
468
Member Avatar for riayas

I have 2 forms , form one has a datagrid with 10 columns form 2 has a listview box with 4 columns i want to populate the listview columns with 4 of the values from a row in the datagrid when the row is selected and the 'add ' button …

Member Avatar for riayas
0
708
Member Avatar for Shodow

how to avoid duplicate lvList DoubleClick() Dim line = lvList.SelectedIndices(item.Text) lvPrint.Items.Add(lvList.Items(line).Clone())

Member Avatar for G_Waddell
0
225
Member Avatar for mokushirokuxen

![7d2f0b828b7075213b3cc4ce79ce21d1](/attachments/large/4/7d2f0b828b7075213b3cc4ce79ce21d1.png "7d2f0b828b7075213b3cc4ce79ce21d1") i have 2 database listview1(from tbl_storage) listview2(fromsales) so i want my listview items and subitems to be increment or be loop correct me if im wrong with that. sellingprice and Qty.(Quantity) ex. itemno | name | qty| price | total | 1 | a | 1 | 100 …

Member Avatar for mokushirokuxen
0
451
Member Avatar for vishal anand.s

Hi my name is vishal. For the past 1 week i been in the process of creating a dashboard using listview in c# windows forms with sql server 2008. I created listview named lstDashItems and populate it from a table named USERACTIVITIES in sql server 2008. The design of USERACTIVITIES …

Member Avatar for vishal anand.s
0
387
Member Avatar for sash_kp

I am retrieving data from sqlite and showing it in a listview using simpleadapter.I don't have any issues regarding Layouts.Still just for your reference : list_item.xml <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" android:padding="10dp" android:paddingLeft="10dp" android:paddingRight="10dp" > <!-- Name Label --> <TextView android:id="@+id/subject" android:layout_width="fill_parent" android:layout_height="wrap_content" android:paddingBottom="2dip" android:paddingTop="6dip" android:textColor="#421fc4" android:textSize="16sp" android:textStyle="bold" /> <TextView …

Member Avatar for peter_budo
0
2K
Member Avatar for MartinSoukup

Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as …

Member Avatar for pritaeas
0
208
Member Avatar for MartinSoukup

Im trying to do my roulette game, i already did two tetxbox (number[textbox1],bet[textbox2]) it gives me data from textboxes to listview. But i got stuck at my action button, absolutly dont know how to seach in listview. For example: listview1.text = number.text.. *(if number at listview will be same as …

Member Avatar for KushMishra
0
495
Member Avatar for thing2

I am wondering how best to go about making this type of app. My wife told me to make it and I don't want to let her down. The use case is as follows. Click Add Item Button Edit Text Type name of item Second Edit Text- Type Price As …

Member Avatar for peter_budo
0
119
Member Avatar for glenn_boy13

Hello, I have a listview1 in my form. And my form has the ability to fullscreen itself. In the meantime, I have this code: ListView1.AutoResizeColumns(ColumnHeaderAutoResizeStyle.HeaderSize) But that would only depend on the listview's headersize. or the column's header width. I would like my all columns to share equal width. For …

Member Avatar for deceptikon
0
532
Member Avatar for game4tress

I'm trying to fill a listview with the code shown bellow, but when the listview is populated, each item is shown as: ListViewItem: {The information to display1} ListViewItem: {The information to display2} ListViewItem: {The information to display3} ListViewItem: {The information to display4} My question is, how can I display only …

Member Avatar for game4tress
0
204
Member Avatar for oks1998

Dim hTable As Hashtable = New Hashtable() Dim duplicateList As ArrayList = New ArrayList() Dim itm As ListViewItem For Each itm In ListView1.Items If hTable.ContainsKey(itm.Text) AndAlso hTable.ContainsKey(itm.SubItems(1).Text) AndAlso hTable.ContainsKey(itm.SubItems(2).Text) AndAlso hTable.ContainsKey(itm.SubItems(3).Text) Then 'duplicate duplicateList.Add(itm) Else hTable.Add(itm.Text, String.Empty) End If Next 'remove duplicates For Each itm In duplicateList ListView1.Items.Remove(itm) Next I …

Member Avatar for tinstaafl
0
1K
Member Avatar for pritaeas

I have multiple listviews on a form (WinForms). List items can be dragged to other listviews. Is there a way to cancel a single item within the dragged items list? The target listview determines whether or not a single item can be dropped there. I'd prefer a solution that will …

Member Avatar for pritaeas
0
261
Member Avatar for Exinta

I am working on a project (simple phone book) for personal use. Basically, the contacts are displayed in a listview and stored in a XML file. I am having trouble deleting the last remaining item in my listview (listView1). So, let's say that I have got 5 contacts in the …

Member Avatar for tinstaafl
0
295

The End.