
March 30th, 2003, 06:54 AM
|
|
Contributing User
|
|
Join Date: Mar 2003
Location: UK
Posts: 32
Time spent in forums: < 1 sec
Reputation Power: 6
|
|
|
ASP.NET database connect
Hi
I am new to ASP & the .NET framework.
I am trying to connect to an Access database that I have setup through .NET. I have been able to do it with ASP by setting an ODBC connection and using ASP:
<%
strconn = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.MapPath("access_database\localFinder.mdb")
set strconn = server.createobject("adodb.connection")
strconn.open "DSN=localfinder"
%>
Any help on the code required to connect to an Access database in .NET would be greatful
Thanks James
|