How can I access local computer database from ASP.NET application?
-
Is there anyway to connect local computer database such as MDB or SQL express from ASP.NET application? Please let me know.
Just establish a connection to your database as you would to any other. connectionstrings.com[^] has plenty of connection string examples for both Access and SQL Express databases.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
-
Just establish a connection to your database as you would to any other. connectionstrings.com[^] has plenty of connection string examples for both Access and SQL Express databases.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
-
if I select drive C:, does it look for in IIS server or client computer? Could you show me some example?
Dong Kim wrote:
if I select drive C:, does it look for in IIS server or client computer?
I have no idea what you are talking about here. All the information you need in order to connect to the databases you mention can be found in the link I previously sent you and by reading the MSDN documentation.
Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush
-
if I select drive C:, does it look for in IIS server or client computer? Could you show me some example?
ASP.NET is server-based technology. You can not connect to a database on the client machine. You can, using the proper connection string, connect to a remote system. Given the proper permissions of course. Do some research on database connections.
only two letters away from being an asset