I am loading data into a datagridview from a dataset. After loading I need to add new rows to the datagridview.
or
Try using BindingSource like
Dim m_Bs as new BindingSource
m_Bs.DataSource = DataSet1.Tables("TableName")
DataGridView1.Datasource = m_Bs
And enable adding row on DataGridView1 Any changes From the Datagridview will reflect on the Dataset.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.