after a query execution i get the data in datatable which is binded to grid.
i need to insert data frm this data table to a sql temp table but with only few selected columns
I am not able to get what are trying to do here but still below is the way to do it
1. Once you get the DataTable after query execution store that datatable in ViewState object.
2. Then you can loop through datatable and save record one by one.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.