Hello,
I have a grid which has a dataset (which contains single table) say DS1 associated with it. Now, I want to assign data from another dataset (say DS2) to this grid but I cannot directly bind this dataset to the grid. Hence, I'm removing the only table from DS1 and copying the datatable from DS2 to DS1.
Note : The datatables inside DS1 & DS2 have same structure
Code:
DS1.Tables.RemoveAt(0);
DS1.Tables.Add(DS2.Tables[0].Copy());
But, still the grid does not reflect the changes. Can anyone help me out? Thanks in advance!