Example #1
0
        private void btgetDT_Click(object sender, EventArgs e)
        {
            BDiemThi.LoadDataFromSV(txtID.Text.Trim());
            grid1.DataSource = null;

            grid1.DataSource = BDiemThi.getAll();
        }
Example #2
0
        private void btgetDT_Click(object sender, EventArgs e)
        {
            lbName.Text = BUser.getUser(txtID.Text.Trim()).Hoten;
            BDiemThi.LoadDataFromSV(txtID.Text.Trim());
            grid1.DataSource = null;

            grid1.DataSource = BDiemThi.getAll();
        }
Example #3
0
        private void btChiTiet_Click(object sender, EventArgs e)
        {
            /* int k = grid1.CurrentCell.RowIndex;
             * MessageBox.Show(k.ToString());
             * List<LichHoc> list ;
             * list = BLichHoc.getAll();
             */
            int k = grid1.CurrentCell.RowIndex;

            MessageBox.Show(k.ToString());
            List <DiemThi> list;

            list = BDiemThi.getAll();


            ChiTIetForm f = new ChiTIetForm(list[k]);

            f.Show();
        }