private void LoadLoaiChungTu()
 {
     _KTLCTGRepo = new KTLCTGRepo();
     var list = _KTLCTGRepo.GetAll();
     cboLoaichungtu.DataSource = list;
     cboLoaichungtu.DisplayMember = "ID_LOAI";
     cboLoaichungtu.ValueMember = "ID_LOAI";
     cboLoaichungtu.DropDownColumns = "ID_LOAI,TEN_CT,SO_CT";
     cboLoaichungtu.SelectedIndex = -1;
 }
 private void Load_Data()
 {
     try
     {
         _KTLCTGRepo = new KTLCTGRepo();
         gridData.DataSource = _KTLCTGRepo.GetAll();
         //_db = new dbVstoreAppDataContext(Const.builder.ConnectionString);
         //gridData.DataSource = null;
         //gridData.DataSource = _db.KT_LCTGs;
         //gridData.RefreshDataSource();
         //gridView1.RefreshData();
     }
     catch (Exception) { }
 }