Using select function inside assign

Hi,

How do I filter out certain keys in the data table to be used as variables

Thank you

Hi,

I recommend to use LINQ instead of DataTable.Select method.

dt = dt.AsEnumerable.Where(Function(r) not r("ColumnName").ToString="KeyForDelete").CopyToDataTable()

Regards,