I have a GridView with the checkbox in each row.
The Grid View is Populated from two different tables (Say Table A and Table B)
Now i want to insert the row which are being selected using checkbox to another two tables (Say Table C and Table D )
I have populated the grid and i also have got the selected row in a separate DataTable but i dont know how to separate the columns by column names and insert the values into two different table based on the column names
For Eg:
I'm having grid Columns as
Column A ,Column B ,Column C ,Column D ,Column E
Now i want to insert `Column A ,Column B, Column E` into `Table C`
and `Column A, ,Column C ,Column D` into `Table D`
Go to the complete details ...