Connection String
CONNECTION STRING:
How to extract path in DataBase.
@ - DataBase Path Finder
Step:-
1. Go to Server Explorer
2. Drag Drop Table into Design Page e.g. Default.aspx
3. Click on Master Tag
4. Configure Data Source
5. Connection String
6. Click On ADD symbol +
7. Copy the path
e.g.
string cs = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True";
How to extract path in DataBase.
@ - DataBase Path Finder
Step:-
1. Go to Server Explorer
2. Drag Drop Table into Design Page e.g. Default.aspx
3. Click on Master Tag
4. Configure Data Source
5. Connection String
6. Click On ADD symbol +
7. Copy the path
e.g.
string cs = @"Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\Database.mdf;Integrated Security=True;User Instance=True";