标签:
ddlFGiftId.DataSource = dtGift;
ddlFGiftId.DataTextField = "FGiftName";
ddlFGiftId.DataValueField = "FGiftName";
ddlFGiftId.DataBind();
ddlFGiftId.Items.Insert(0, new ListItem("==不使用赠送==", "0"));
ddlFGiftId.SelectedValue = "0";
DropDownList 绑定数据后 插入一条不属于表中的数据
标签:
原文地址:http://www.cnblogs.com/taikongbai/p/4600845.html