private void LoadDsDXVVMoi()
 {
     try
     {
         DataSet       dsDXVV    = new DataSet();
         BaoCaoProcess bcProcess = new BaoCaoProcess();
         dsDXVV = bcProcess.GetDXVVMoiTheoNhom(txtMaNhom.Text);
         if (dsDXVV != null && dsDXVV.Tables.Count > 0)
         {
             grdDXVV.DataContext = dsDXVV.Tables[0].DefaultView;
         }
     }
     catch (Exception ex)
     {
         LLogging.WriteLog(ex.TargetSite.Name, LLogging.LogType.ERR, ex);
     }
 }
 private void LoadDsDXVVMoi()
 {
     try
     {
         machinhanh = lstSourceChiNhanh.ElementAt(cmbChiNhanh.SelectedIndex).KeywordStrings.FirstOrDefault();
         maphonggd  = lstSourcePhongGD_Select.ElementAt(cmbPhongGD.SelectedIndex).KeywordStrings.FirstOrDefault();
         idKhuVuc   = lstSourceKhuVuc.ElementAt(cmbKhuVuc.SelectedIndex).KeywordStrings[1];
         idCum      = lstSourceCum.ElementAt(cmbCum.SelectedIndex).KeywordStrings[1];
         manhom     = lstSourceNhom.ElementAt(cmbNhom.SelectedIndex).KeywordStrings[0];
         macum      = lstSourceCum.ElementAt(cmbCum.SelectedIndex).KeywordStrings[0];
         makhuvuc   = lstSourceKhuVuc.ElementAt(cmbKhuVuc.SelectedIndex).KeywordStrings[0];
         DataSet       dsDXVV    = new DataSet();
         BaoCaoProcess bcProcess = new BaoCaoProcess();
         dsDXVV = bcProcess.GetDXVVMoiTheoNhom(manhom);
         if (dsDXVV != null && dsDXVV.Tables.Count > 0)
         {
             grdDXVV.DataContext = dsDXVV.Tables[0].DefaultView;
         }
     }
     catch (Exception ex)
     {
         LLogging.WriteLog(ex.TargetSite.Name, LLogging.LogType.ERR, ex);
     }
 }