943,821 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 3046
  • ASP.NET RSS
Jul 2nd, 2008
0

in asp.net request.form

Expand Post »
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.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vasu123 is offline Offline
1 posts
since Jul 2008
Jul 2nd, 2008
0

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.
Featured Poster
Reputation Points: 854
Solved Threads: 127
Banned
serkan sendur is offline Offline
2,057 posts
since Jan 2008
Jul 3rd, 2008
0

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.
Reputation Points: 10
Solved Threads: 9
Junior Poster
sierrainfo is offline Offline
144 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Attendance system
Next Thread in ASP.NET Forum Timeline: Unrecognized configuration section "





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC