比如说下面的***要填写什么呢?DataView dv = new DataView();dv = resultSet.Tables[0].DefaultView;dv.RowFilter ="FatherValue= 'root'";dv.RowStateFilter = DataViewRowState.ModifiedCurrent;dv.Sort = "Text";foreach (DataRow row in *****){}
2 回答
守着一只汪
TA贡献1872条经验 获得超3个赞
DataView dv = null;
dv = resultSet.Tables[0].DefaultView;
dv.RowFilter ="FatherValue= 'root'";
dv.RowStateFilter = DataViewRowState.ModifiedCurrent;
dv.Sort = "Text";
DataTable newTable=dv.ToTable();
foreach (DataRow row in newTable.Rows)
{}
- 2 回答
- 0 关注
- 351 浏览
添加回答
举报
0/150
提交
取消