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

SQL Server Connection String

string str = 'server=localhost;database=dbname;uid=dbuser;pwd=dbpass;'; dbname : Your Database...

How can I check my website stats?

You can view Awstats only if it is enabled in your account. First, log into HELM via...

Frontpage Editing

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

Modifying an Email Account

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

Powered by WHMCompleteSolution