By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,156 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,156 IT Pros & Developers. It's quick & easy.

Reference data in selected rows of dataViewGrid

P: n/a
I have a dataViewgrid in my project in which the user will select multiple
rows. The will click a button and my program will perform some operation on
the selected records (using the ID column value for each of the selected
rows). My question is, how do I loop through the selected rows and
reference the ID column in the data grid? I can get the count of selected
columns, but I don't know how to reference the data in the rows.

Thanks.
Aug 24 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Take a look at this:
http://msdn2.microsoft.com/en-us/lib...ectedrows.aspx

chanmm

"Tim Kelley" <tk*****@company.comwrote in message
news:O3**************@TK2MSFTNGP05.phx.gbl...
>I have a dataViewgrid in my project in which the user will select multiple
rows. The will click a button and my program will perform some operation
on the selected records (using the ID column value for each of the selected
rows). My question is, how do I loop through the selected rows and
reference the ID column in the data grid? I can get the count of selected
columns, but I don't know how to reference the data in the rows.

Thanks.

Aug 25 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.