Published in: C#
ddlList.DataSource = DataSelection.ReturnDataTable("sp_StoredProc"); ddlList.DataValueField = "item_value"; ddlList.DataTextField = "display_text"; ddlList.DataBind(); if (ddlList.Items.FindByValue("") != null) ddlList.Items.FindByValue("").Selected = true; <asp:DropDownList ID="ddlList" runat="server" />
You need to login to post a comment.
