HI All,
From the datatable, below code will make all value of the Column name "PERSON" as string.Empty.
In my case, if it contains value, should not change to string.Empty.. (value should remain same)
I m trying to write conditions between the folowing foreach.
Table.AsEnumerable().ToList().ForEach(p => p.SetField<string>("PERSON"," "));
Expecting like : Table.AsEnumerable().ToList().ForEach(p =>
if(p.PERSON ==null or 0) p.SetField<string>("PERSON"," "));