示例#1
0
文件: Group.cs 项目: 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);
 }
示例#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);
            }
        }