Now that you know how to use both system DSNís and OLEDB connection strings, you have to make a choice about which method to use to access your data.
Personally, if you run a web site that only receives a couple of hundred visitors a day, then I would recommend using system DSN's. On the other hand, if you receive thousands of visitors a day then speed will be a critical issue, and you should use an OLEDB connection string to gain the extra 10-15% speed differential thatís lost when using system DSN's.
By reading this article, I hope you now understand how to connect to a database through ASP. If you'd like more examples, or a further explanation of the methods mentioned in this article, then please take a look at the links and books shown below.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |