📜  datatable linq where 子句 c# 代码示例

📅  最后修改于: 2022-03-11 14:49:22.499000             🧑  作者: Mango

代码示例1
string[] data = dt.AsEnumerable().Where(s => s.Field("col1") == "us").Select(s => s.Field("col2")).ToArray();