Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在将数据从数据集中加载到 datagridview 中。加载后,我需要向 datagridview 添加新行。
或者
尝试使用 BindingSource 之类的
Dim m_Bs as new BindingSource m_Bs.DataSource = DataSet1.Tables("TableName") DataGridView1.Datasource = m_Bs
并启用在 DataGridView1 上添加行来自 Datagridview 的任何更改都将反映在数据集上。