
|
email this FAQ to a colleague
Q:
Anyone know what the connection string should look like to connect to a database without using a DSN? Or is this possible with ADO?
A:
Here is how to do it in both Access and SQL Server:
Access
set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=c:\InetPub\wwwroot\database\guestbook.mdb"
SQL Server 6.5
set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open "driver=SQL Server;server=yourServerName;uid=someUID;pwd=somePWD;database=someDatabase;"
- Wayne Berry
|
Articles
|
|
Sep 15, 2005 - Building an Image Keyword System
|
|
|
Unlike text-based file formats image files aren't made up of words, which makes searching for an image file by keyword difficult. Instead of being able to simply open the file to see what it contains, we're stuck looking at the text around it and other metadata to determine the image's meaning. In this article, Ziran Sun shows you how to build a simple database-based image keyword system that allows you to associate keywords with images and use these keywords to make finding images easier.
[Read This Article] [Top]
|
|
|
|
|
|
Feb 10, 2005 - A Step-by-Step Guide To Using MySQL with ASP.NET - Part 1
|
|
|
Back in the days of classic ASP, if you were building a database-driven
web site, your choice was either to invest a lot of money to get a copy of Microsoft SQL Server
(or some other enterprise-ready database) or invest a lot of time finding a way to deal with the
performance and scalability limitations of Microsoft Access. Luckily these days there's
another viable alternative: MySQL.
[Read This Article] [Top]
|
|
|
|
|
|
|