E
Eric Shin
Hi all.
I'm like really on the beginning stage for ASP.NET
just got a few questions to ask... Please help me.
I've created a form page called "join.aspx"
and it has lots of codes but the important part needed to
be focused on is the following lines.
<asp:textbox id="firstname" runat="server" />
and the form tag says
<form id="Form1" method="get" runat="server"
action="result.aspx">
Also, i have a button component whose code is
<asp:Button ID="submit" Text="Join" Runat="server"
OnClick="join">
where the subroutine, 'join' is
sub join (s as Object, e as EventArgs)
Response.redirect("result.aspx") 'link page
end sub
The result.aspx has only few lines of codes
<script runat="server">
sub Page_Load
three.text = Request.QueryString("firstname")
end sub
</script>
*** AND ***
<asp:Label ID ="three" Runat="server" />
I was just wondering if the id "firstname" is global in
the same project.
FOr this code, i don't get anything in result.aspx when i
actually put some random name in the firstname textbox
field in join.aspx
Can you tell me what's wrong???
Sorry, im mixing up with ASP and ASP.NET here....
Thanks for bearing me.
I'm like really on the beginning stage for ASP.NET
just got a few questions to ask... Please help me.
I've created a form page called "join.aspx"
and it has lots of codes but the important part needed to
be focused on is the following lines.
<asp:textbox id="firstname" runat="server" />
and the form tag says
<form id="Form1" method="get" runat="server"
action="result.aspx">
Also, i have a button component whose code is
<asp:Button ID="submit" Text="Join" Runat="server"
OnClick="join">
where the subroutine, 'join' is
sub join (s as Object, e as EventArgs)
Response.redirect("result.aspx") 'link page
end sub
The result.aspx has only few lines of codes
<script runat="server">
sub Page_Load
three.text = Request.QueryString("firstname")
end sub
</script>
*** AND ***
<asp:Label ID ="three" Runat="server" />
I was just wondering if the id "firstname" is global in
the same project.
FOr this code, i don't get anything in result.aspx when i
actually put some random name in the firstname textbox
field in join.aspx
Can you tell me what's wrong???
Sorry, im mixing up with ASP and ASP.NET here....
Thanks for bearing me.