@opas1216 Can you Check this Statement :
DT.AsEnumerable.Where(Function(x)String.IsNullOrEmpty(x(“ColName”).ToString) or String.IsNullOrWhiteSpace(x(“ColName”).ToString)).CopyToDataTable
@opas1216 Ohh Wait, I’ll need to use a Not Operation in there. It results in Filtering out only empty rows, you need the opposite Try this :
DT.AsEnumerable.Where(Function(x)Not (String.IsNullOrEmpty(x(“ColName”).ToString) or String.IsNullOrWhiteSpace(x(“ColName”).ToString))).CopyToDataTable