I have a DataTable with many rows and 7 columns. I want to check if column 7 is empty, assign a negative value to it.
I use this in C#, but it did not work well. Where is the mistake? Thanks
foreach (DataRow dr in dataTable.Rows)
{
if (dr[6] == null)
dr[6] = -9999;
}
...
Go to the complete details ...