R
Rob Rogers
I am old programmer, but this asp.net stuff throws me for a loop.
I have an asp.net page that I need to create a dynamic hyperlink from
based on the user selection from the drop down list and whatever they
enter in the textbox. I have hardcoded ?St=Ok?City=Tyler but I need
the info to come from the drop down list and textbox.
Here is my code..
<%@Page Explicit="True" Language="VB" Debug="True" %>
<HTML>
<script runat="server">
Sub StartSearch(Sender As Object, E As EventArgs)
End Sub
</script>
<body>
<h1>Jump Page</h1>
<form runat="server">
<P>
Jump To:<br>
<asp:dropdownlist id="JumpTo" runat="server" autopostback="true">
<asp:listitem></asp:listitem>
<asp:listitem>AL</asp:listitem>
<asp:listitem>AK</asp:listitem>
<asp:listitem>AZ</asp:listitem>
<asp:listitem>AR</asp:listitem>
<asp:listitem>CA</asp:listitem>
<asp:listitem>CO</asp:listitem>
<asp:listitem>OK</asp:listitem>
</asp:dropdownlist></P>
<P>
<asp:TextBox id="City" runat="server"></asp:TextBox><br>
<br>
</ASP:IMAGEBUTTON>
<asp:HyperLink id="HyperLink1" runat="server" Target="mainFrame"
NavigateUrl="http://www.natltc.com/search.aspx?St=Ok?City=Tyler">HyperLink</asp:HyperLink></P>
</form>
</body>
</HTML>
************************************************************
Thanks for any help.
I will even pay someone to tell me how to do this.
I can pay with paypal or credit card, or I'll send a check or money
order.
I have an asp.net page that I need to create a dynamic hyperlink from
based on the user selection from the drop down list and whatever they
enter in the textbox. I have hardcoded ?St=Ok?City=Tyler but I need
the info to come from the drop down list and textbox.
Here is my code..
<%@Page Explicit="True" Language="VB" Debug="True" %>
<HTML>
<script runat="server">
Sub StartSearch(Sender As Object, E As EventArgs)
End Sub
</script>
<body>
<h1>Jump Page</h1>
<form runat="server">
<P>
Jump To:<br>
<asp:dropdownlist id="JumpTo" runat="server" autopostback="true">
<asp:listitem></asp:listitem>
<asp:listitem>AL</asp:listitem>
<asp:listitem>AK</asp:listitem>
<asp:listitem>AZ</asp:listitem>
<asp:listitem>AR</asp:listitem>
<asp:listitem>CA</asp:listitem>
<asp:listitem>CO</asp:listitem>
<asp:listitem>OK</asp:listitem>
</asp:dropdownlist></P>
<P>
<asp:TextBox id="City" runat="server"></asp:TextBox><br>
<br>
</ASP:IMAGEBUTTON>
<asp:HyperLink id="HyperLink1" runat="server" Target="mainFrame"
NavigateUrl="http://www.natltc.com/search.aspx?St=Ok?City=Tyler">HyperLink</asp:HyperLink></P>
</form>
</body>
</HTML>
************************************************************
Thanks for any help.
I will even pay someone to tell me how to do this.
I can pay with paypal or credit card, or I'll send a check or money
order.