customer_copy
//your datatable (all) DataTable dtAll = getTable(); //your new datatable (only selected) DataTable dtSelected = dtAll.Clone(); //save data //Save using Grid foreach (GridViewRow rw in grid1.Rows) { //copy updated data if (((CheckBox)rw.Cells[0].FindControl("uxIncludeckbox")).Checked == true) { dtSelected.Rows.Add(dtAll.Rows[rw.RowIndex]); } } //Now dtSelected is Selected Datatable //Bind it to another grid
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)