I'm new in ASP.net programming
hello will anyone help me..
I have this asp.net code that looks like this...
<%@ Page Language="
vb" %>
<script language="
vb" runat="server">
public myOption as string
</script>
<html><head><title></title></head>
<body>
<table>
<tr><td>
<a href="index.aspx?myOption=About&variable1=value">A bout us</a>
<a "index.aspx?myOption=Link&variable1=value">lin ks</a>
</td></tr>
<tr><td>
<%
select case myOption
case "About":
response.Writefile("./components/AboutUs.aspx") case "Link"
response.Writefile("./components/Link.aspx")
end select
%>
</td></tr>
</table>
</body>
</html>
If any of "About Us" or "Links" is clicked, the content of the 2nd row must be the content of the link... and the URL posted in the address bar looks like this..
http://localhost/mywebs/index.aspx?m...ariable1=value
Problem is..
Nothing appears in the 2nd row... when i did the debugging, i found out that the value of "myOption" variable remains empty.
PLease help.