H
Herb
I am having a problem with syntac. I want to connect and
open an access database.
the path to the database is
e:\webanimalhome\database\data.mdb
I am using the following code. All I get is errors and
how does it know how to fine the database. The database
is on a remote web server.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports Microsoft.VisualBasic
<%@LANGUAGE="VBSCRIPT"%>
<% Dim objCnn As New SqlConnection( _
"Initial Catalog=data;Data" & _
"Data
Source=localhost;uid=animalhome;pwd=gooddog")
objCnn.Open()
%>
open an access database.
the path to the database is
e:\webanimalhome\database\data.mdb
I am using the following code. All I get is errors and
how does it know how to fine the database. The database
is on a remote web server.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
Imports System
Imports System.Data
Imports System.Data.SqlClient
Imports Microsoft.VisualBasic
<%@LANGUAGE="VBSCRIPT"%>
<% Dim objCnn As New SqlConnection( _
"Initial Catalog=data;Data" & _
"Data
Source=localhost;uid=animalhome;pwd=gooddog")
objCnn.Open()
%>