how to use ListView Control in C#.net?
-
Hi, Visit following sites for samples and How-Tos http://windowssdk.msdn.microsoft.com/en-us/library/ms752071.aspx[^] http://windowssdk.msdn.microsoft.com/en-us/library/ms771778.aspx[^]
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
-
Hi, Visit following sites for samples and How-Tos http://windowssdk.msdn.microsoft.com/en-us/library/ms752071.aspx[^] http://windowssdk.msdn.microsoft.com/en-us/library/ms771778.aspx[^]
"A good programmer is someone who looks both ways before crossing a one-way street." -- Doug Linder
Anant Y. Kulkarni
use a ListViewItem property for the list view u have ListViewItem item; item=new ListViewItem("cchandru"); items.SubItems.Add("kanth"); YourListviewControlName.Items.Add(item); even i had this problem before..lol cheers, Chandru.
-
use a ListViewItem property for the list view u have ListViewItem item; item=new ListViewItem("cchandru"); items.SubItems.Add("kanth"); YourListviewControlName.Items.Add(item); even i had this problem before..lol cheers, Chandru.
-
how i can add bitmap images to ListView Control e.g Folder Image plz give me an idea about that. thanx
u have to add a image list to the listview control property and then in the list view item property u add the image. ListViewItem item; item = new ListViewItem("Chandru",O); /* tht zero represents the image tht has to be added to this column from ur image list 0 -> 1st image in ur image list collection 1 -> second image. */ Am i clear to u?