var sub = "1,1001,2004";
tbData.DefaultView.RowFilter = $" subjectid in (0,{sub})";
tbData = tbData.DefaultView.ToTable();
DataTable数据过滤示例
最新推荐文章于 2024-09-02 17:27:54 发布
var sub = "1,1001,2004";
tbData.DefaultView.RowFilter = $" subjectid in (0,{sub})";
tbData = tbData.DefaultView.ToTable();