Пример #1
0
        private void txtMSSV_TextChanged(object sender, EventArgs e)
        {
            int    column;
            string table;

            table              = "SinhVien";
            column             = 0;
            DTO_diem.txtTIMMSV = txtMSSV;
            BUS_diem.GoiYMaSinhVien(DTO_diem.txtTIMMSV, table, column);
        }
Пример #2
0
        private void UC_Nhapdiem_Load(object sender, EventArgs e)
        {
            cmbKhoa.DataSource    = BUS_diem.LayDuLieuKhoa();
            cmbKhoa.DisplayMember = "TenKhoa";
            cmbKhoa.ValueMember   = "MaKhoa";
            dgvDiem.DataSource    = BUS_diem.LayDLDiem();


            table              = "SinhVien";
            column             = 0;
            DTO_diem.txtTIMMSV = txtTimKiem_MSSV;
            BUS_diem.GoiYMaSinhVien(DTO_diem.txtTIMMSV, table, column);
            BUS_diem.LayDanhSachMonHocVaoListBox(lbMonHoc, cmbKhoa.SelectedValue.ToString());
        }