Where should i store MS Access database after publishing my VB.NET Application.

Database in bin folder before deployment.

I am using connection string.

Thanks

Recommended Answers

All 4 Replies

You can store it in the registry or an XML config file.

<?xml version="1.0" standalone="yes"?>
: <Database_Config>
:   <Settings>
:     <DBConnection>My connection string</DBConnection>
:   </Settings>
: </Database_Config>

could you please explain it?

I am going to give you another way. Store the database in the same location as executable for your application. When you make the connection string, use Application.StartupPath to get the location of your executable.

You are going to have to provide more details to get help with this.

That issue solved..

But crystal reports does not show ms access database data

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.