Exemple #1
0
        public void ViewCombobox()
        {
            DataTable ds = new DataTable();

            ds = bllTaiKhoan.getAllGetSV();
            cbHoTen.DisplayMember = "hoten";
            cbHoTen.ValueMember   = "hoten";
            cbHoTen.DataSource    = ds;
        }
Exemple #2
0
        public void LoadComboSinhVien()
        {
            DataTable ds = new DataTable();

            ds = bllTaiKhoan.getAllGetSV();
            cbxTenSinhVien.DisplayMember = "hoten";
            cbxTenSinhVien.ValueMember   = "hoten";
            cbxTenSinhVien.DataSource    = ds;
        }