DataTable dt = oldDataTable;
DataTable result = dt.Clone();//复制表的结构
resultTable.Rows.Add(dt.Rows[index].ItemArray);//ItemArray ----通过一个数组来获取或设置此行的所有值
相关文章:
-
2022-01-29
-
2021-05-30
-
2021-05-21
-
2022-03-08
-
2021-08-10
-
2021-07-14
-
2022-12-23
-
2022-01-09
猜你喜欢
-
2022-12-23
-
2022-12-23
-
2021-05-28
-
2022-12-23
-
2022-12-23
-
2022-01-27
-
2022-12-23
相关资源
-
下载
2023-04-05
-
下载
2021-06-05
-
下载
2021-06-05
-
下载
2022-12-14