Hi,
If A certain column contains a same value it should returns a boolean,
for example below
kkk
kkk
kkk
kkk
In the above if all the values are same then it should return true.
If atleast one value is different then it should be false.
checking on row level (e.g. within a for each row over all cols)
check = row.ItemArray.Select(Function (x) x.ToString.Trim).Distinct().Count = 1
Checking on Datatable level over all rows on one column (Assign activity)
check2 =
dtData.AsEnumerable.Select(Function (x) x(YourColNameOrIndex).toString.Trim).Distinct().Count = 1
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.