.NET Winforms BindingNavigator Add and Delete buttons do not work
问题 On my VS2015 Winforms app, I created a DataGridView along with a BindingNavigator . The following code successfully displays the data in the DataGridView and I can navigate the data rows using the BindingNavigator. But when I try to add/delete a row using builtin Add/Delete buttons on the BindingNavigator the database does not reflect those changes. The Code : public partial class Form2 : Form { public Form2() { InitializeComponent(); } SqlDataAdapter dadapter; DataSet dset; BindingSource bs;