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.
 

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

Back
Top