link :http://www.domaindlx.com/dsn-less.shtm
Making a DSN-Less connection can be very tricky for newbies to ASP. This is done by telling the server to use a file instead of a DSN name
To setup a DSN-Less connection on DomainDLX, use the following code
<%Dim Conn, RS
Set Conn = Server.CreateObject("ADODB.Connection")
Set RS = Server.CreateObject("ADODB.Recordset")
DSNName = "DRIVER=Microsoft Access Driver (*.mdb);DBQ="
DSNName = DSNName & Server.MapPath("/USERNAME/database/mydatabase.mdb")
Conn.Open DSNName
sql = "SELECT * FROM [TableName] WHERE (((TableName.FieldName)='Value'))"
RS.Open sql, Conn, 3, 3%>
_________________________________________________________
What kann I do, wenn these informations are different from the original common.asp file?
