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

MS Access DSN Less Connection Example

Here is the example code for dsn less ms access connection. <% Set db =...

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...

HELM Navigation

i : Login to HELM using your information ii : Click on [ Domains ] iii : Now click on the row...

Interactive HELM Tutorial

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

Modifying an Email Account

Follow these steps to modify your email account : [1] Login to HELM using following information...

Powered by WHMCompleteSolution