C# DataTable 筛选条件
程序员文章站
2022-07-12 14:07:41
...
DataTable 通过 DataView.RowFilter 筛选条件
DataTable dt = set.Tables[0];
DataView dv = dt.DefaultView;
dv.RowFilter = "退货编号='2222afaz'";
return dv.ToTable();