New page with parameters??

carpe2

Freshman
Joined
Jan 16, 2004
Messages
42
Location
Spain
Hi, i ´d like to show an asp.net web page giving it some parameters, as a did in c++
pNewForm=new Form(Parameters);
(I modified the constructor of Form in order to admit parameters)

I would like to do something like that in asp.net, but i don´t know how to do it...

I have a page, and depending what i select, i want to show another page,
which has a label, and i want to show the name given in the parameter in the label as the page is shown...

Thanks
 
call the page with querystring
ex when u call ur page say
response.redirect("mypage.aspx?id=4")

now in mypage.aspx page load say,
myvariable = request.querystring("id")
 
Back
Top