So, they are same rows.Only name and surname showed on different rows.I need join them in one row.Help please.
ID | NAME | SURNAME |
--------------------------------
1 | null | MIKE
-------------------------------
1 | JON | null
Thanks in advance
VulpesPosted Apr 11, 2013, 5:36 PM
dt.Rows[0]["NAME"] = dt.Rows[1]["NAME"];
dt.Rows.RemoveAt(1);
VulpesPosted Apr 11, 2013, 6:22 PM
for(int i = dt.Rows.Count - 1; i >= 0; i -= 2)
{
}
Posted Apr 11, 2013, 5:46 PM
if there are a lot of columns which need to combine in one row if it possible to make this with looping?Not one by one.
Thanks