using CY.BLL.Sys;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Web;
|
using System.Web.UI;
|
using System.Web.UI.WebControls;
|
|
namespace CY.WebForm.Pages.front
|
{
|
public partial class Note : System.Web.UI.Page
|
{
|
public int PrintTypeId { get; set; }
|
protected void Page_Load(object sender, EventArgs e)
|
{
|
if (!IsPostBack)
|
{
|
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";
|
}
|
}
|
}
|
}
|