Posted on: 4/21/2015 6:49:56 PM | Views : 569

<asp:ListBox ID="lstFruits" runat="server" SelectionMode="Multiple" AutoPostBack="True" OnSelectedIndexChanged="lstFruits_SelectedIndexChanged" Width="243px" DataSourceID="SqlDataSource1" DataTextField="Course_Name" DataValueField="price"></asp:ListBox>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:schoolConnectionString %>" SelectCommand="SELECT [price], [Course_Name] FROM [COURSE]"></asp:SqlDataSource>

i am trying to get multiple record via list box .but it select only first two record .but i want select many record from this Listbox .
when i change something on this code like that..
<asp:ListBox ID="lstFruits" runat="server" SelectionMode="Multiple" AutoPostBack="True&quo ...

Go to the complete details ...