So I'm having trouble browsing for my databases in the Data Source Connection Wizard in Visual C#.
Just so you know where I'm at, here are the steps I've taken so far.
-> I click on my datagridview DataSource property and choose 'add project data source'.
-> 'Choose Data Source Type' -> database -> next
-> 'Choose Database Model' -> dataset -> next
-> 'Choose Your Data Connection' -> New Connection
Now I'm required to browse or type in my database string in the connection properties section and I don't know where my databases are stored.
Basically, what I'm trying to achieve is find the default location of where my sql server databases are stored on my hard drive so I can link them to my program.
Following my steps previously described I then press the 'browse' button and the FileDialog comes up directed at "C:\Program Files\Microsoft SQL Server Compact Edition\v3.5\Samples" which is where I find the northwind database.
I wish to locate a database I've created in sqlserver 2008, but cannot locate the database files anywhere on my hard drive.
I am able to achieve a connection through use of 'using System.Data.SQLClient' and creating a connection string, but would like to have to database as a datasource so I can work
View Complete Post