claracruz
asked on
Dropdwon list Simple Q
Hello experts,
I am doing the following to populate a dropdown list.
<asp:DropDownList ID="make" Runat="server" DataSourceID="ObjectDataSo urce2" DataTextField="make" DataValueField="make" CssClass="input"/>
<asp:ObjectDataSource ID="ObjectDataSource2" Runat="server" TypeName="AuctionsDB" SelectMethod="GetVehiclesB yMake"/>
I also need an option in the list that states ---Any---, how do I achieve this if I am binding the control to a datasource..
Many Thanks
Clara
I am doing the following to populate a dropdown list.
<asp:DropDownList ID="make" Runat="server" DataSourceID="ObjectDataSo
<asp:ObjectDataSource ID="ObjectDataSource2" Runat="server" TypeName="AuctionsDB" SelectMethod="GetVehiclesB
I also need an option in the list that states ---Any---, how do I achieve this if I am binding the control to a datasource..
Many Thanks
Clara
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER