how to connect to database, and how to get data?
There are a thousand ways. More actually, but you get the point. Take your pick.
I'd have to say that this is the wrong place to ask.<BR>You need to check www.aspfaqs.com and THEN and ONLY then ask in the Databases Q&A part of the site.