我有DataGridView填充数据源(SQL)的数据.现在我想添加一个新行,但我不能,因为新数据无法添加到有界DataGridView ...
我试图:
dataGridView1.Source = null; dataGridView1.Rows.Add("1");
但它清除了我之前在表格中的数据.怎么做,添加新行而不删除以前的数据?
c# datagridview
c# ×1
datagridview ×1