Query in a browser/address bar i.e. default.aspx?id=001

takwirira

Member
Joined
Dec 21, 2007
Messages
23
Programming Experience
Beginner
I have a database with a picture id and URL's to pictures e.g.

l_pictureID l_picture1 l_picture2

001 england.jpg spain.jpg
002 kenya.jpg zambia.jpg


As well as that I have a page e.g. default.aspx that has Image1 and Image2 that can be change according to image1.imageURL = .... etc

Is there a way I can run a query from the address bar to say e.g. localhost/default.aspx?l_pictureID=001 and it will change the URL of image1 and image2 on the page ???

http://forums.asp.net/AddPost.aspx?ForumID=27 - this is an example of how it is used on this website.

As you can tell im a bit of a newbie and I dont even know what the method/actual correct term for such an operation is.

Any help will be greatly appreciated

Thanks
 
The term is QueryString, example:
VB.NET:
Dim id As String = Request.QueryString("pictureID")
 
Back
Top