954,152 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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.

vasu123
Newbie Poster
1 post since Jul 2008
Reputation Points: 10
Solved Threads: 0
 

why dont you pass the information as querystring? request.form is not a recommended way of passing data in asp.net.

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

Check out this Article -- http://www.developer.com/net/asp/article.php/3299641 .

The Answer to your problem is in this Article.

sierrainfo
Junior Poster
144 posts since May 2008
Reputation Points: 10
Solved Threads: 9
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You