Click here to Skip to main content
14,699,107 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to know that what is the code in c# to take all the data those i checked in one grideview and want to show that selected data in another gridview which is in the same form.
Herman<T>.Instance 22-Jul-11 8:12am
You could use a DataView object in stead of a DataTable object in a gridView.
The DataTable is added to the DataView
In DataView you can Filter on a Field, like checkboxField is checked. So you only need 1 GridView in your page.

1 solution

Can't you just iterate through your grid view items?

If yes, then you should be able to ask if each row is checked then do whatever you want with that data.

Hope it helps

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900