DataTable dtMain = new DataTable();
                    DataColumn dc 
= new DataColumn("xxx"typeof(string));
                    dtMain.Columns.Add(dc);

                    DataRow dr 
= dtMain.NewRow();
                    dr[
"xxx"= "xxx";
                     
                    dtMain.Rows.Add(dr);
                    dtMain.AcceptChanges();

相关文章:

  • 2022-12-23
  • 2021-04-27
  • 2021-11-07
  • 2022-01-02
  • 2022-12-23
  • 2022-12-23
  • 2021-10-07
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2022-02-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案