multiple row-selection in Datagrid

  • Thread starter Thread starter Dr. P. Dietz
  • Start date Start date
D

Dr. P. Dietz

Hello NG,
how can i walk through the selected rows of a vb.net
datagrid?

datagrid.currentrowindex is only one row (first? last?)

I think of something like this:

dim r as ??
for each r in ??
myValueForWork =r!column_name1.tostring
....
next
Thanks!
Peter
 
Hello,

You can ping the grid for selected rows by calling the IsSelected(rowNum)
method.
 
Back
Top