hi, there i am coming up with a dropdownlist, where the data will be in the sql database. The data then is retrieved from the database using dropdownlist. I am not sure if this codes are right. please help.
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:CourierSystemConnectionString %>"
SelectCommand="SELECT [DelName] FROM [DelBoy_Table]">
</asp:SqlDataSource>
<asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="SqlDataSource2"
AppendDataBoundItems="true" DataTextField="DelBoy" DataValueField="Data" AutoPostBack="true" Height="81px" Width="179px">
</asp:DropDownList>