Hi,
Try like this,
List(of string) = (From row in dt.AsEnumerable() Select Convert.Tostring(row(“ColumnName”))).ToList()
replace the “ColumnName” with your datatable column name or use index of the column.
Hi,
Try like this,
List(of string) = (From row in dt.AsEnumerable() Select Convert.Tostring(row(“ColumnName”))).ToList()
replace the “ColumnName” with your datatable column name or use index of the column.