private void BTN_upd_Click(object sender, EventArgs e) { ADD_group group = new ADD_group(); group.groupBindingSource.DataSource = groupBindingSource; group.groupBindingSource.Position = groupBindingSource.Position; if (group.ShowDialog() == System.Windows.Forms.DialogResult.OK) groupTableAdapter.Update(this.myDBDataSet.Group); }
private void BTN_upd_Click(object sender, EventArgs e) { ADD_group group = new ADD_group(); group.groupBindingSource.DataSource = groupBindingSource; group.groupBindingSource.Position = groupBindingSource.Position; if (group.ShowDialog() == System.Windows.Forms.DialogResult.OK) { groupTableAdapter.Update(this.myDBDataSet.Group); } }