日期:2014-05-18 浏览次数:20974 次
DataSet1.TableDataTable dt = new DAL.DataSet1.TableDataTable(); DataSet1.TableRow row = dt.NewTableRow(); row.A = "xx"; dt.AddTableRow(row);
------解决方案--------------------
DataRow dr = dataset1.DataTable1.NewRow();
dr["Column1"] = "2222222222";
dr["Column2"] = "3333333";
//.....
dataset1.DataTable1.Rows.Add(dr);