Esempio n. 1
0
File: Group.cs Progetto: Geliya94/pr
 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);
 }
Esempio n. 2
0
        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);
            }
        }