request.params advice

B

Bob H

Hi,

I'm trying to pass values (from controls) from Page1 and Page2. Is the
request.params a way of passing variables between pages and if so, does it
work with webcontrols or only HTML controls?

Thanks

bob
 
G

Guest

H

you can transfer data from one page to another page using request.querystring method a

Dim str as Strin
str="webform1.aspx?id="& textbox1.text & "
Response.redirect st

in Second page you receive it a
Dim nStr as Strin
nStr=Response.QueryString("id"

o
Bye
 
S

Saravana [MVP]

Hi
There are a number of ways to pass values from one page to another, such as
using the querystring, cookies, session,context. You'll have to decide which
technique is best for your application. Here are several good articles on
the subject to help you decide.

http://msdn.microsoft.com/msdnmag/issues/03/04/ASPNETUserState/default.aspx
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm
l/cpconPassingServerControlValuesBetweenPages.asp
http://www.mcwtech.com/2002/VSLive/Stockholm/StateManagement_files/frame.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top