thanks for the response. I tried to impliment the server.transfer method but
WebForm1 is not recognized on the destination form. I replaced Webform1 with
the name of my source webform but it is still not defined on the destination
page.
private void Page_Load
(object sender, System.EventArgs e)
{
//create instance of source web form
MyWebForm1 wf1;
//get reference to current handler instance
wf1=(MyWebForm1)Context.Handler;
Label1.Text=wf1.Name;
Label2.Text=wf1.EMail;
}
--
Paul G
Software engineer.
"Patrice" wrote:
Try :
http://www.dotnetbips.com/articles/c...946f4d311.aspx
Plus :
- you could pass a single value and read the rest from a db especially if
you need to persist those values on a longer term (first step of a db update
for example)
- if this is a multistep operation you could post to the same page and have
a wizard like logic inside your page...
--
Patrice
"Paul" <Pa**@discussions.microsoft.coma crit dans le message de groupe de
discussion : 74**********************************@microsoft.com...
Hi, just wondering if anyone can provide a brief example of passing
parameters from one webpage to another, C# VS2005? I need to pass several
selected values of dropdown list boxes to a secondary page. I have a
response.redirect("secondpage") in a button click event.
Thanks.
--
Paul G
Software engineer.