1.dropdownlist的绑定

            BLLAuction bll_getAuction=new BLLAuction();
            this.ddlauctioncode.DataSource = bll_getAuction.GetAuctionList();
            this.ddlauctioncode.DataTextField = "Name";
            this.ddlauctioncode.DataValueField = "code";
            this.ddlauctioncode.DataBind();
            this.ddlauctioncode.Items.Insert(0, new ListItem("请选择拍卖场次", ""));

2.后台执行js

this.ClientScript.RegisterStartupScript(this.GetType(), this.Title, "alert('信息设置成功!');", true);

 

相关文章:

  • 2021-06-27
  • 2021-09-22
  • 2022-02-07
  • 2021-11-21
  • 2022-12-23
  • 2022-12-23
  • 2022-02-19
猜你喜欢
  • 2022-12-23
  • 2021-12-06
  • 2021-08-11
  • 2021-07-28
  • 2021-04-21
  • 2021-10-26
  • 2021-09-29
相关资源
相似解决方案