基本知识点罗列

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);

 

posted @ 2013-08-19 16:29  Uoolo  阅读(317)  评论(0编辑  收藏  举报