20486
1. Add a new SQL Server Database to your project
Right Click anywhere in Solution Explorer and select "Add New Item"
Select the Data Folder to the Left
Select SQL Server Database
Name the Database PhotoSharingDB.mdf
2. Open Server Explorer and Note that your new database is present.
3. Expand the Top level node "PhotoSharingDB.mdf" to remove the red "x"
4. Select the Top Node and note the ConnectionString Property in the Properties window to the right.
5. Copy the Connection String and use it in the web config file.
Right Click anywhere in Solution Explorer and select "Add New Item"
Select the Data Folder to the Left
Select SQL Server Database
Name the Database PhotoSharingDB.mdf
2. Open Server Explorer and Note that your new database is present.
3. Expand the Top level node "PhotoSharingDB.mdf" to remove the red "x"
4. Select the Top Node and note the ConnectionString Property in the Properties window to the right.
5. Copy the Connection String and use it in the web config file.