Local Database File in VS 2k5b2?

  • Thread starter Thread starter Günter Huber
  • Start date Start date
G

Günter Huber

I got no choice for a Local Database File in VS 2k5b2 in the Data Source
Configuration Wizard.
I got VFP OLE DB driver installed...
?
G
 
Use solution explorer to add a database file to your application (select
Database in New Item window). After that, add a connection string that point
to that database to connectionStrings section of application configuration
file:

<add name="App.Properties.Settings.AppConnectionString"
connectionString="Data
Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database\Database.mdf;Integrated
Security=True;User Instance=True" providerName="System.Data.SqlClient" />
 

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

Back
Top