request.params advice

  • Thread starter Thread starter Bob H
  • Start date Start date
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
 
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
 
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
 
Back
Top