private void btnAddNew_Click(object sender, EventArgs e)
        {
            this.Hide();
            DataTable detailTable = (DataTable)this.GridViewStudent.DataSource;

            frmStudentRegistration studentReg = new frmStudentRegistration(detailTable,maxId);
            studentReg.Show();
        }
示例#2
0
        private void btnAddNew_Click(object sender, EventArgs e)
        {
            this.Hide();
            DataTable detailTable = (DataTable)this.GridViewStudent.DataSource;

            frmStudentRegistration studentReg = new frmStudentRegistration(detailTable, maxId);

            studentReg.Show();
        }