Hello guys,
I’m coding a c# code where i’m reading in datatable:
foreach (DataRow row in dtexcel.Rows)
{
if (row[0]== DBNull.Value)
{
labname = string.Empty;
Console.WriteLine("Empty");
}
else
{
if (item.Contains((string)row[0]))
{
labname = item;
}
}
}
rw[0] is not emty in the excel file but when running the code it get a Null vale ???