基本知识点罗列
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);
作者:幸福的笨笨熊
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。