Sql and ASP.Net

  • Thread starter Thread starter L Lor
  • Start date Start date
L

L Lor

Is it possible to connect to my local db(Access) from a
ASP.Net Application where it(ASP.Net Application ) is on WebServer? If
yes, what ConnectionString do I use?
 
Is it possible to connect to my local db(Access)  from a
ASP.Net Application where it(ASP.Net Application ) is on WebServer? If
yes, what ConnectionString do I use?

*** Sent via Developersdexhttp://www.developersdex.com***

You must copy your database to the server (in case it is not your
local box)

Connection string would be following

"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\mydatabase.mdb;"

http://www.connectionstrings.com/?carrier=access
http://www.aspfree.com/c/a/Microsoft-Access/Connecting-to-a-Microsoft-Access-database-with-ASPNET/

Hope this helps
 
Back
Top