我将下拉列表绑定到具有select状态的位置。
Select location_id, location_name,businessid from inventory.tbl_location order by location_name
我想把第一个元素作为‘选择位置’。现在我得到了所有的位置。如何在使用语句数据库的asp.net页面下拉框中将初始值设置为asp.net选择asp.net?
In the aspx page :
<asp:DropDownList ID="ddlAllLocations" runat="server" D