Datagridview and datatables
How can selected rows of one datagridview copied into another on different form and saved into a table at the same time? Can someone provide me the code?
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.
Suraj DubeyPosted Apr 2, 2021, 9:40 AM
Basically, if you are using paging then you might need to consider viewstate to store the checked rows with in the datatable.
Below example, explained step by step:
http://aspsnippets.com/Articles/Transfer-Selected-Rows-from-one-GridView-to-Another-in-Asp.net.aspx
https://www.c-sharpcorner.com/UploadFile/15208c/how-to-send-gridview-row-values-to-another-page-and-update-t/Rajanikant HawaldarPosted Apr 2, 2021, 9:11 AM
Salman BegPosted Apr 2, 2021, 5:23 AM