469,627 Members | 959 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,627 developers. It's quick & easy.

Reference data in selected rows of dataViewGrid

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
1 1743
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.

Similar topics

6 posts views Thread by Mike Kirkpatrick | last post: by
7 posts views Thread by Jason | last post: by
9 posts views Thread by Anil Gupte | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.