Hi exterts,
my req is in my gridview i have some records and each record having checkbox. if i want to select 1 checkbox and click on button that record move into another table.......
give me reply..
bye
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Veera ChennaPosted Apr 9, 2012, 9:32 PM
http://technico.qnownow.com/2012/04/10/copy-rows-from-asp-net-gridview-control-to-a-sql-server-table/
SenthilkumarPosted Apr 8, 2012, 12:19 AM
You need to iterate the grid after selecting some rows in the main grid.
If the items are selected then it should be identified and added those results into the datatable.
After adding all the selected rows, you need to bind it into another gridview control.
gvSubGrid.DataSource = dt;
gvSubGrid.DataBind();
Hope this help you.