Hi,
I get an itemarray back with all types as System.DBNull and the following line assignment does not work:
Code:
for (DataRow row in table.Rows)
{
row.ItemArray[10]="some string";
}
I have also tried using the following and that does not work either
Code:
for (DataRow row in table.Rows)
{
row.BeginEdit();
row.ItemArray.SetValue("some string",10);
row.EndEdit();
}
Please suggest a solution