i have two tables ,,using gridview i have display those two tables data ....
what is my question is
in 1st table contain 4 rows second table contain 2 rows my question is i want import 3rd row of first table into second column how it could be
Loading


Posted May 31, 2011, 5:06 AM EDT
DataRow drTemp = dt1.Rows[4];
dt2.ImportRow(drTemp);
dt2.AcceptChanges();
dataGridView2.DataSource = dt2;
dataGridView2.Refresh();
I have attached sample also.
Basically you need to identify the which rows you want to import.
Posted May 31, 2011, 4:45 AM EDT
Do you want to combine rows in these two tables?
Please post more information to get it resolved quickly.
bhanu prasannakumar123 reputationPosted May 31, 2011, 4:52 AM EDT
bhanu prasannakumar123 reputationPosted May 31, 2011, 4:54 AM EDT
Posted May 31, 2011, 5:09 AM EDT
bhanu prasannakumar123 reputationPosted May 31, 2011, 5:12 AM EDT
Posted May 31, 2011, 5:24 AM EDT
bhanu prasannakumar123 reputationPosted May 31, 2011, 5:25 AM EDT