Posted on: 5/27/2014 5:29:37 PM | Views : 373

I hooked up my list box to the database, however, when I run it the list box every row says System.Data.DataRowView...why doesnt it show up heres my code

<asp:ListBox ID="lstsel" runat="server" DataSourceID="SQLlistsel"></asp:ListBox> <asp:SqlDataSource ID="SQLlistsel" runat="server" ConnectionString="<%$ ConnectionStrings:LI %>" ProviderName="<%$ ConnectionStrings:LI.ProviderName %>" SelectCommand="SELECT [LOCATIONID], [LOCNM], [STATUS] FROM [LOCATIONS]"> </asp:SqlDataSource>

Go to the complete details ...