Q:如何在绑定后的DataGridView中新增行?
A:new一个DataSource,在DataSource中新增一行,再绑定。如:
BindingSource bs = new BindingSource();
bs.DataSource = SqlHelper.GetDataSet("SELECT TOP 10 PLMM
FROM WORLD WHERE AGE BETWEEN 18 AND 22").Tables[0];
bs.AddNew();
dataGridView1.DataSource = bs;