/// <summary> /// 初始化维护对象 /// </summary> private void InitIemExcept() { try { Dictionary <string, DateElementEntity> dataList = sqlUtil.GetDataElement(); iemExcept = sqlUtil.GetIemMainPageExcept(dataList); } catch (Exception ex) { throw ex; } }
/// <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; } }