I look at your post thinking you want to write .net code? - This is the classic ASP area of the forum, Im not so sure VS is the tool you would use to write classic ASP...
Anyhow if I may say so - Questions like this wont get you far on any forum. Come here to be assisted with problematic parts of your code, not to get code written for you.
Wind is your friend