62,046
社区成员
发帖
与我相关
我的任务
分享
dataset.Tables[0].Select("distinct *")
DataView myDataView = new DataView(datatable);
string[] strColumns ={ "ID", "Name", "ParentID", "XH" };//添加列名
datatable = myDataView.ToTable(true, strColumns);