Posted on: 6/10/2014 2:01:38 PM | Views : 423

HI guys
 I am fairly new to asp! and I am trying to start my first website but I have some problems .
in page name (Add-Goods) I have to drop down list that bind data from a database using sql server  the first one's name "listCatGoods" and the second's name "DsItems" which show elements from data base when listCatGoods selected change . so i try this:

<asp:DropDownList ID="listCatGoods" runat="server" DataSourceID="goodCat" DataTextField="Name" DataValueField="ID" Height="16px" Width="151px" onselectedindexchanged="listCatGoods_SelectedIndexChanged"> </asp:DropDownList> <asp:SqlDataSource ID="goodCat" runat="server" ConnectionString="<%$ ConnectionStrings:NewWebSite %>" SelectCommand="SELECT [ID ...

Go to the complete details ...