How do I use something passed in the URL for a datagrid?

Smurfsdabomb

Member
Joined
Jan 10, 2009
Messages
10
Programming Experience
1-3
In the ASP section for a previous datagrid I've got linking to the next page passing in the ID of the item so the URL is something like this.

http://localhost:51004/FYP/JoinLeague.aspx?titleid=8

But the question is on the new page how would I use that titleid to put it into an SQL string to query the database for a datagrid on page load? Simply whats the code to use the URL titleID in a string?
 
Back
Top