I have a scenario where a datatable can contain a large number of rows. As a result, I cannot repeat and update data using a loop.
I tried the following code,
from row in table.AsEnumerable() where table.Columns.Any(col => !row.IsNull(col)) select row;
But I can not find a definition for Any () . Is there any namespace I should use to get Any ()?
Any body, please tell me how to fix this or suggest any alternative solutions.
source share