Exemplo n.º 1
0
 private void InitDDL()
 {
     this.ddlTITLECOLOR.DataSource     = RentalHouse.GetSTONETYPE("ST_PROTYPE");
     this.ddlTITLECOLOR.DataTextField  = "VVALUE";
     this.ddlTITLECOLOR.DataValueField = "CODE";
     this.ddlTITLECOLOR.DataBind();
 }
Exemplo n.º 2
0
 private void DdlDataBind()
 {
     this.TxtCARCOLOR.DataSource     = RentalHouse.GetSTONETYPE("ST_PROTYPE");
     this.TxtCARCOLOR.DataTextField  = "VVALUE";
     this.TxtCARCOLOR.DataValueField = "CODE";
     this.TxtCARCOLOR.DataBind();
     this.TxtCARCOLOR.Items.Insert(0, new ListItem("全部", "null"));
 }
Exemplo n.º 3
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");
     }
 }