Exemplo n.º 1
0
        private void btnChonNhom_Click(object sender, EventArgs e)
        {
            DataTable   kq  = XuLyDataGridView.GetTable(new string[] { "MÃ HP", "TÊN HỌC PHẦN", "LỚP", "NHÓM" }, (DataTable)grwDanhSach.DataSource);
            frmChonNhom fcn = new frmChonNhom(kq);

            if (fcn.ShowDialog() == DialogResult.OK)
            {
                XuLyDataGridView.ShowData(fcn.dgrDanhSach, grwDanhSach, "NHÓM", "NHÓM");
                btnChonPhong.Enabled = btnXepLichThi.Enabled = true;
            }
        }
Exemplo n.º 2
0
        private void btnChonPhong_Click(object sender, EventArgs e)
        {
            DataTable kq = XuLyDataGridView.GetTable(new string[] { "MÃ HP", "TÊN HỌC PHẦN", "SỐ SV", "HT THI", "PHÒNG" }, (DataTable)grwDanhSach.DataSource);

            MonXepPhong(kq);
            frmChonPhong fcp = new frmChonPhong(kq);

            if (fcp.ShowDialog() == DialogResult.OK)
            {
                XuLyDataGridView.ShowData(fcp.dgrDanhSach, grwDanhSach, "PHÒNG", "PHÒNG");
            }
        }