Exemple #1
0
 /// <summary>
 /// 初始化维护对象
 /// </summary>
 private void InitIemExcept()
 {
     try
     {
         Dictionary <string, DateElementEntity> dataList = sqlUtil.GetDataElement();
         iemExcept = sqlUtil.GetIemMainPageExcept(dataList);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
 /// <summary>
 /// 初始化列表
 /// <auth>XLB</auth>
 /// <date>2013-04-10</date>
 /// </summary>
 private void InitDateList()
 {
     try
     {
         if (sqlUtil == null)
         {
             sqlUtil = new SqlUti();
         }
         Dictionary <string, DateElementEntity> dateElement = sqlUtil.GetDataElement();
         List <IemMainPageExcept> iemMainPageList           = sqlUtil.GetIemMainPageExcept(dateElement);
         gridControl1.DataSource = iemMainPageList;
         GetAllDateElement();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }