我有一个dataset数据集,怎么写可以获得region_id相同的数据。就是说我要获得region_id =1的数据。
dataset数据结构:
name value region_id
aa 11.1 0
bb 8.1 1
cc 9.12 1
dd 8.25 2
ee 5.21 2
ff 6.72 2
dataset数据结构:
name value region_id
aa 11.1 0
bb 8.1 1
cc 9.12 1
dd 8.25 2
ee 5.21 2
ff 6.72 2
rowFilter.RowFilter="region_id=1";
DataTable dt=rowFilter.ToTable();
dataset.tables[0].select("column=value");
这样查出所有region_id =1的数据吧。
一时脑子空白了