lidds Posted December 2, 2004 Posted December 2, 2004 Can anyone help me getting the text from a listview. I have a list view (lstView) with 4 columns in it, I want to be able to get the text from the second column that I have selected. The following code only seems to give me the text in the first column: lstView.selecteditems(0).text but how do I tell vb.net to give me the text from the second column. Cheers Simon Quote
Administrators PlausiblyDamp Posted December 2, 2004 Administrators Posted December 2, 2004 Try something like listview1.SelectedItems(0).SubItems(1).Text Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.