G
Guest
How do I edit or reformat a DataTable?
DataTable orders;
getSqlData(orders);
for (int i;i<orders.row.count;i++)
{
orders.row.ItemArray[0] = "Some special edits";
}
orders.AcceptChanges();
The code above doesn't do anything!
How can I update my ItemArray?
DataTable orders;
getSqlData(orders);
for (int i;i<orders.row.count;i++)
{
orders.row.ItemArray[0] = "Some special edits";
}
orders.AcceptChanges();
The code above doesn't do anything!
How can I update my ItemArray?