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?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Salman BegRank #284 · 8.8K reputationPosted Apr 2, 2021, 1:23 AM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 2, 2021, 5:11 AM EDT
Suraj DubeyRank #2,182 · 647 reputationPosted Apr 2, 2021, 5:40 AM EDT
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/