To get list of one column values from DataTable: You can use Linq to DataTable: var ids = dt.AsEnumerable().Select(r => r.Field ("id")).
確定! 回上一頁