DataSet1.DataTable1DataTable dt = new DataSet1.DataTable1DataTable();
for (int i = 0; i < 10; i++) { dt.AddDataTable1Row(false); }
dt.AcceptChanges();
dataGridView1.DataSource = dt;
别骂我笨啊...
实在是没看懂!!!
DataSet1是什么?后面的DataTable1DataTable 又是什么东东?偶是新人啊...
for (int i = 0; i < 10; i++) { dt.AddDataTable1Row(false); }
dt.AcceptChanges();
dataGridView1.DataSource = dt;
别骂我笨啊...
实在是没看懂!!!
DataSet1是什么?后面的DataTable1DataTable 又是什么东东?偶是新人啊...
msdn == 葵花宝典!!!
QQ:122768959