hi, this is my drop down list code.
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [location] FROM [place]"></asp:SqlDataSource>
<asp:DropDownList ID="DropDownList1" runat="server" Style="left: 380px; position: absolute;
top: 8px; z-index: 112;" Width="216px" DataSourceID="SqlDataSource1"
DataTextField="location" DataValueField="location">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [category] FROM [category_type]"></asp:SqlDataSource>
<asp:DropDownList ID="DropDownList3" runat="server"
Style="left: 380px; position: absolute;top: 48px; z-index: 112; width: 216px;"
DataSourceID="SqlDataSource3" DataTextField="category" DataValueField="category">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>"
SelectCommand="SELECT [Mname] FROM [Movie]"></asp:SqlDataSource>
<asp:DropDownList ID="DropDownList2" runat="server" Style="left: 380px; position: absolute;
top: 88px; z-index: 112; width: 216px;"
DataSourceID="SqlDataSource2" DataTextField="Mname"
DataValueField="Mname">
</asp:DropDownList>
<asp:Button
ID="Button1" runat="server"
style="z-index: 1; left: 381px; top: 183px; position: absolute"
Text="Search" Font-Bold="True" Font-Names="Cambria" Font-Size="14pt"
ForeColor="Maroon" onclick="Button1_Click" />
Thanks for the help:)
Sindhuesh, if this helps please login to Mark As Answer. | Alert Moderator