c# - listview: getting subitem text -


i have listview following columns id, surname, firstname. want surname when row selected how do using visual c# 2008?

subscribing selectedindexchanged listview1:

listview1.selecteditems[0].subitems[1].text 

you have tons of microsoft documentation it..

http://msdn.microsoft.com/en-us/library/system.windows.forms.listviewitem.listviewsubitem.aspx


Comments

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -