thats progress but now i get the following:
Error 1 Cannot convert type
'System.Windows.Forms.ListViewItem.ListViewSubItem ' to 'int'
Error 1 Cannot convert type
'System.Windows.Forms.ListViewItem.ListViewSubItem ' to 'string'
Error 1 Cannot convert type
'System.Windows.Forms.ListViewItem.ListViewSubItem ' to 'string'
"Galcho[MCSD.NET]" <ga****@gmail.com> wrote in message
news:11**********************@j55g2000cwa.googlegr oups.com...
Use .SelectedItems[0] property and you will get ListViewItem object
http://msdn.microsoft.com/library/en...asp?frame=true
use .Subitems(0) - for number
use .Subitems(1) - for name
use .Subitems(2) - for details
ListViewItem lvItem = list..SelectedItems[0];
int number = (int)lvItem.SubItems[0] ;
string name = (string)lvItem.SubItems[1] ;
string details = (string)lvItem.SubItems[2] ;
I hope this helps
Galin Iliev[MCSD.NET]
www.galcho.com