MS Access DSN Connection Example

<%
set rs=Server.CreateObject("ADODB.Recordset")
db="DSN=MyDSN;UID=;PWD=;"

SQL = "SELECT * from MyTable"
rs.open SQL, db

rs.MoveFirst
Do Until rs.EOF
Response.Write rs("NAME") & "<br>"
rs.MoveNext
Loop
rs.Close
%>

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I change my hosting account password ?

If you want to change your web hosting account's password and you know your current login...

Perl

PROBLEM: When you use a Common Gateway Interface (CGI) application with Microsoft Internet...

Internal clients cannot use Internet Explorer to access FTP sites

SYMPTOMS When you use Microsoft Internet Explorer to try to access a File Transfer Protocol...

Frontpage Editing

QUESTION ------------------------------------------------------ How frontpage could be used to...

Interactive HELM Tutorial

Follow this url to get access to Interactive HELM Tutorial....

Powered by WHMCompleteSolution