CY_ECommercePlatform/CY.WebForm/Pages/front/Calendary.aspx.cs
@@ -1,4 +1,5 @@ using System; using CY.BLL.Sys; using System; using System.Collections.Generic; using System.Linq; using System.Web; @@ -16,6 +17,11 @@ { if (Request["PrintTypeId"] != null) PrintTypeId = int.Parse(Request["PrintTypeId"].ToString()); Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//字典业务逻辑操作类对象 this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("印刷单位").Where(x => x.MeanValue == 1); this.ysUnit.DataBind(); this.ysUnit.Value = "1"; } } }