How to save second column values also from listview in VB.NET

M

Mamatha

Hi

I have one VB.NET application with the listview control.i
saved the contents of one column only when i click on the
save button.Now i want to save the contents of second
column also,how can i save those contents.
If any one knoes the solution please let me know.Thanks in
advance.

Mamatha
 
P

Peter Proost

this is for a listview with view set to detailed and fullrowselect and
multiple columns
ListView1.Items.Item(ListView1.SelectedIndices(0)).SubItems(1).Text

gets the value of the second cloumn

hth Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top