DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   in asp.net request.form (http://www.daniweb.com/forums/thread132353.html)

vasu123 Jul 2nd, 2008 7:10 pm
in asp.net request.form
 
Hello all,

I am not able to send data from one web page to another web page by using request.form in framework 1.o

Can any one help me.

Code:

Page1.apsx.vb

'For Submitt buuton

server.transfer("page2.aspx")

i ahve one textbox in page1.aspx and if i click on submitt button i am sending that data to page2.aspx

page2.aspx.vb

'page load

dim uname as string

uname=request.form("textbox1")

i am using one label in page2.aspx

label1.text="welcome to" &uname

wheni debug this progrm i am not getting any value in uname.

serkan sendur Jul 2nd, 2008 8:29 pm
Re: in asp.net request.form
 
why dont you pass the information as querystring? request.form is not a recommended way of passing data in asp.net.

sierrainfo Jul 3rd, 2008 4:15 pm
Re: in asp.net request.form
 
Check out this Article -- http://www.developer.com/net/asp/article.php/3299641.

The Answer to your problem is in this Article.


All times are GMT -4. The time now is 3:34 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC