Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Code sample which uses ADO connection object to co...
Author:
Stan Leach
Submitted:
10/13/2000
Version:
ASP
Compatibility:
ASP
Category:
ASP
Views:
17556
Code sample which uses ADO connection object to connect to Microsoft SQL Server Database.
Declarations:
Code:
<% ' Create a Connection Object Set Conn = Server.CreateObject("ADODB.Connection") ' Build the connection string ConnectionString = "DRIVER=SQL Server;SERVER=MyServer;CATALOG=MyDatabase;UID=MyUser;PWD=MyPassword" ' Open connection Conn.Open ConnectionString %>
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement