Common Database Access include file

Added By: wydok

Rated:
(3 of 5) by 9.
Rate Snippet:
Description:  For ASP. An include file that centralizes database access functions, so that if you need to modify your connection string, etc, you can do it from a central location. Use the GetConnection() function if you just need to return a connection object. Use the GetData() function to return a recordset. Use the EncodeSQLString to encode a string (such as from the querystring or a form) for use in a SQL statement. (5/7/2002 :: fixed a couple of scripting boo-boos).
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: