Sql and ASP.Net

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?
 
A

Alexey Smirnov

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top