@ngocvk wrote:
I have a data table and want to delete all blank rows
I declare a variable = Filterdata has datatype = System.data.DataTable
And assign a value for it as expressions:
DT1.Rows.Cast(Of DataRow)().Where(Function(row) Not row.ItemArray.All(Function(field) field Is DBNull.Value Or field.Equals(""))).CopyToDataTable()
But the system always displays error like image I attached.
Please, help me if you know about that.
Thank you so much
Posts: 2
Participants: 2