Click to See Complete Forum and Search --> : Passing Values between Asp web pages


TimTree
01-19-2007, 07:02 AM
I have VB.NET web page that contains a DropDownList of names and a button.

When the button is pushed I want to redirect to another web page and send the name value selected in the dropdownlist with it. I believe the code for this is:

Response.Redirect("NewPage.aspx?" + DropDownListItem)

Is this correct and if so how do I access the data in the new page ?

Thanks
Tim.

Ribeyed
01-19-2007, 01:32 PM
Hi,


Request.QueryString("DropDownListName")

ywhitaker
01-20-2007, 03:54 PM
Response.Redirect("NewPage.aspx?DropDownListName=" & DropDownListItem)

then on NewPage.aspx check the query string as shown in the previous post