I can't establish a database connection between asp files and ms-access database... Can anyone help me with this code?
<%
//*****************
//GENERAL FUNCTIONS
//*****************
//open the db connection
function dbOpen() {
var db = Server.CreateObject("ADODB.Connection"
;
db.open("DSN=ec"
;
return db;
}
......
%>
<%
//*****************
//GENERAL FUNCTIONS
//*****************
//open the db connection
function dbOpen() {
var db = Server.CreateObject("ADODB.Connection"
db.open("DSN=ec"
return db;
}
......
%>