They are asking how to save the infomation that is enter into a listview on the form. So that you can later view the Information after the application has ended.
I realize this is an old video but it was the first result I found. So I'm going to leave a little extra information to help others. If you want to capture which SubItem is selected you can pull that from the click/double click events. private void listView1_MouseDoubleClick(object sender, MouseEventArgs e) Point clickLocation = e.Location; ListViewHitTestInfo hit = listView1.HitTest(clickLocation); int subItemIndex = hit.Item.SubItems.IndexOf(hit.SubItem);
Good class, man. I have a question if you can help me. How can I get float values from a second listview column, in case [1], and subtract the value from a textbox or a label with a value already entered?
what a great tutorial .... :) but can u please make a tutorial on how to transfer/display the data from listview into another form and display it to the textbox once you "DoubleClick" the data in a listview? Please I really need it :( to pass my subjects please help me, I will be grateful sir :) GodBless you.
Thank you for the tutorial! I have a question: how to make selected next item after deleting previous item? I want to delete a few items, just clicking on the "delete" button.
Awsome man! i have a question with this, at 01:14 you change columns width and at the time of exection or debugging or running it, the column size is differ. Can you teach me how to make it fix that the column size we set at form, shows at running time too. kindly Guide me, Thank you, Regard, Muhammad Naveed Haroon
Thank you ! Nice and simple .. although the column resizing never worked.
They are asking how to save the infomation that is enter into a listview on the form. So that you can later view the Information after the application has ended.
OMG! YOU SAVED MY LIFE!
That was a nice and simple explanation to get me started using listview. Thanks a lot!
I realize this is an old video but it was the first result I found. So I'm going to leave a little extra information to help others.
If you want to capture which SubItem is selected you can pull that from the click/double click events.
private void listView1_MouseDoubleClick(object sender, MouseEventArgs e)
Point clickLocation = e.Location;
ListViewHitTestInfo hit = listView1.HitTest(clickLocation);
int subItemIndex = hit.Item.SubItems.IndexOf(hit.SubItem);
Thank you !!!!! iTzAdam5
Do you know which event we should handle if the # of items in the ListView changes?
nice tuitorial.. i would like to know how to programmatically select each items from index zero to last...thanks
You mean in a list?
for(i=0; i
Aww, You saved me because I didn't know
Good class, man.
I have a question if you can help me.
How can I get float values from a second listview column, in case [1], and subtract the value from a textbox or a label with a value already entered?
thanks man. I already did these methods.
Great, thanks
nice but how to you put the data on the list view from a Database??
Lol
Merci boucoup ;Thank you for this tutorial ;)
nice tut! short sweet, straight to the point and much easier than reading poorly written documentation.
Really great tutorial
How can i make gridLines more dark ?
Please tell me
what a great tutorial .... :) but can u please make a tutorial on how to transfer/display the data from listview into another form and display it to the textbox once you "DoubleClick" the data in a listview? Please I really need it :( to pass my subjects please help me, I will be grateful sir :) GodBless you.
This was nice. Within the first three minutes I had all the information I needed to make a read-only ListView work. Thank you.
Great tutorial, thank you very much!
How to add only unique names in the listview....Help appreciated....
Thank you, thank you, thank you sir! You saved me! Brief and efficient explanation!
Time Saver!! Thanks
Thank you for the tutorial!
I have a question: how to make selected next item after deleting previous item? I want to delete a few items, just clicking on the "delete" button.
@ginda96 I don't understand what you mean. Please elaborate.
The tutorial is really good. It was very helpful and I could solve my exercise perfectly. Thank you!
did u record the sound in the toilet?
i want to save data to access db from list view , i have 5 column in list view and data from text boxes , plz help me as soon as possible , its urjent
thanks for the tutorial, i feel like god is talking to me though
Awsome man! i have a question with this, at 01:14 you change columns width and at the time of exection or debugging or running it, the column size is differ. Can you teach me how to make it fix that the column size we set at form, shows at running time too. kindly Guide me, Thank you, Regard, Muhammad Naveed Haroon
Thanks Man.
what about WPF get the selected Item ?
great tutorial, thanks!
Thanks for the tutorial. Straight to the point.
Cool! I searched msdn for the whole morning about listview. But I get clear information from your video.
Probably the simplest and easiest example to understand that I've run accross yet. Thanks for posting this.
Awesome tut
Hi, how can select multiple items??
Super, Thanks
Thanks. Just what I needed.
Very good video! Helped me a lot! Thanks!
Big Thank to you!
Thanks for the tutorial !
Finally a good explanation... thanks!
excellent information; thank you!
Thanks. Nice!
Thank you, bro!
#thenewboston
thanks dude..for this
thanks! very usefull!
Thank you.
Thank you so much!
Great Tut! Thx!
thank you
Thank you so much :)
Like + Favorite
thank you :)