Exemple #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         //产品类型
         this.ddlTITLECOLOR.DataSource     = RentalHouse.GetSTONETYPE("ST_PROTYPE");
         this.ddlTITLECOLOR.DataTextField  = "VVALUE";
         this.ddlTITLECOLOR.DataValueField = "CODE";
         this.ddlTITLECOLOR.DataBind();
         lbReqId.Value = UtFunction.GetInnerSnByType("SZ");
     }
 }
Exemple #2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         hidId.Value = Request.QueryString["id"];
         if (!UtFunction.IsNum(hidId.Value))
         {
             Response.Redirect("../Error.aspx");
         }
         InitContent();
     }
 }
Exemple #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!IsPostBack)
     {
         if (!b.IsNewsQX(BaseUserName, "3"))
         {
             Response.Redirect("../NoQx.aspx");
         }
         txtPUBLISHTIME.Attributes.Add("onfocus", "WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd HH:mm:ss'})");
         InitDDL();
         InitDDL1();
         hidId.Value = Request.QueryString["id"];
         if (!UtFunction.IsNum(hidId.Value))
         {
             Response.Redirect("../Error.aspx");
         }
         InitContent();
     }
 }