예제 #1
0
        private void btnAddProc_Click(object sender, EventArgs e)
        {
            AddStudentByProc addStuByProcFrm = new AddStudentByProc();

            addStuByProcFrm.ShowDialog();

            LoadDataGridView();
        }
예제 #2
0
        private void 修改存储过程ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string stuId = this.dgvStudent.SelectedCells[0].OwningRow.Cells["StuId"].Value.ToString();

            AddStudentByProc addstuByProcFrm = new AddStudentByProc();

            addstuByProcFrm.StuId = stuId;
            addstuByProcFrm.ShowDialog();

            LoadDataGridView();
        }