private void button1_Click(object sender, EventArgs e) { bindingSource1.EndEdit(); int result = 0; customerTableAdapter1.Update(mycompanyDataSet1.Customer); MessageBox.Show(result.ToString()); }
Update requires a valid UpdateCommand when passed DataRow collection with modified rows.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)