ASP Need to put some db info into a link

OK, ultimately I need to create a link that says getbook.asp?id=3 . The id is pulled from a database and therefore the number could be anything. (If i’m correct, that link should then open getbook.asp and it can use id=3 to identify an entry in the database.) I’m close, I can pull out the id number and simply response.write it. What I can’t do is create that getbook.asp?id=3 link. Thanks for any help.

Edited because I am an idiot.