//先复制结构

DataTable temp  = dt.Clone()

//添加行

for(int i=0;i<dt.Rows.Count;i++)

{

temp.rows.Add(dt.rows[i].ItemArray)

}

 

相关文章:

  • 2022-12-23
  • 2021-05-06
  • 2022-12-23
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2021-11-17
猜你喜欢
  • 2021-08-25
  • 2022-12-23
  • 2021-11-18
  • 2022-02-20
  • 2021-12-11
  • 2022-02-13
  • 2021-05-02
相关资源
相似解决方案