vadder85 Posted February 12, 2007 Share Posted February 12, 2007 hello..hope some one can help me..my question is how can I pass my value in current form to another form and then retrieve it so that I can used the passed value later...tq.. Link to comment Share on other sites More sharing options...
aspnetguy Posted February 13, 2007 Share Posted February 13, 2007 if you have <form runat="server" method="post" action="yourOtherPage.aspx"><asp:TextBox id="txtBox" runat="server"/></form> Then on yourOtherPage.aspx you can get the values like thisC# Request.QueryString["txtBox"]; VB Request.QueryString("txtBox") This si pretty basic stuff, have you read the tutorial? Link to comment Share on other sites More sharing options...
vadder85 Posted February 15, 2007 Author Share Posted February 15, 2007 if you have<form runat="server" method="post" action="yourOtherPage.aspx"><asp:TextBox id="txtBox" runat="server"/></form> Then on yourOtherPage.aspx you can get the values like thisC# Request.QueryString["txtBox"]; VB Request.QueryString("txtBox") This si pretty basic stuff, have you read the tutorial? yeah,I know..but I'm dealing with .NET mobile..not the normal one..quite hard to find the resources. Link to comment Share on other sites More sharing options...
tjodalv Posted February 18, 2007 Share Posted February 18, 2007 This wont work because method in your form is set to POST, and ii have to be GET, then this will work. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now