username@email.com
2025-05-14 99ddfbcecf0fa2881eb3a91028257eef87dab6de
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 Packet : 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 == 4);
                this.ysUnit.DataBind();
                this.ysUnit.Value = "4";
            }
        }
    }
}