Groups | Blog | Home
all groups > asp.net > february 2004 >

asp.net : Reading a query string


suicidaltendencies
2/1/2004 7:46:07 PM
I think it is:

Lee
2/1/2004 10:19:10 PM
Hi All,

What is the code to read a query string from a URL?

Ie I am sending http://localhost/project.aspx?projectID=123

In VB how do I read the value of projectID in the page that is called? Code
examples would be appericated.

Thanks

Lee

Lee
2/1/2004 11:13:19 PM
Thank you. You'd think I'd have been able to find it somewhere on the MS
site in the last 2 days.


[quoted text, click to view]

Websoftwares NO[at]SPAM Hotmail.com
2/2/2004 5:33:48 AM
Request.QueryString("projectID")

You can also call "Request.QueryString.ToString" to read the entire querystring.

Tommy,

[quoted text, click to view]
AddThis Social Bookmark Button