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, 9:06 AM
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.
bhanu prasannakumarPosted May 31, 2011, 9:25 AM
Posted May 31, 2011, 9:24 AM
bhanu prasannakumarPosted May 31, 2011, 9:12 AM
Posted May 31, 2011, 9:09 AM
bhanu prasannakumarPosted May 31, 2011, 8:54 AM
bhanu prasannakumarPosted May 31, 2011, 8:52 AM
Posted May 31, 2011, 8:45 AM
Do you want to combine rows in these two tables?
Please post more information to get it resolved quickly.