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.

Recommended Answers

All 2 Replies

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.