摘要:
public DataTable GetTable(DataRow[] drows) { DataTable tempT = new DataTable(); if (drows.Length == 0) return tempT; tempT = drows[0].Table.Clone();//克隆表结构 DataSet tempDs = new DataSet(); tempDs.Tables.Add(tempT);//添加到辅助数据集中 tempDs.Merge(drows);//利用数据集合并行集到表 return tempDs.Tables[0];//返回此表 } public . 阅读全文
posted @ 2011-12-02 10:36
pkzeng88
阅读(180)
评论(0)
推荐(0)

浙公网安备 33010602011771号