EVGA 123-LF-E653-KR - P55 LE Motherboard Manuel d'utilisateur Page 20

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 20
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 19
Other Issues:
Since this program currently runs on a local machine, it must be loaded and run in
Microsoft Visual Studio (minimum version of 2008). In addition, since this is a web application
which connects to a local database, the location of the database varies from computer to
computer. Since this location changes, a new connection string must be entered for SQL queries
to be completed successfully. A step by step procedure to accomplish this is found below.
1. Once in Visual Studio and the project folder has been opened as a “Website” open Server
Explorer under “View”
2. In the Server Explorer, under Data Connections, right-click Database.mdf
3. In the properties panel, find Connection String and copy it
4. Take the connection string and make it look like the one below with regard to quotation
marks and the @ symbol :
5.
@"Data Source=.\SQLEXPRESS;AttachDbFilename=C:\Users\Dan
Ehlers\Desktop\final_project_update_6\App_Data\Database.mdf;Integrated
Security=True;User Instance=True";
6. Then press Ctrl+Shift+F to bring up the Find and Replace dialog box
7. Click Quick Replace and select Replace in Files
8. In the Find What box copy the connection string in step 5
9. In the Replace box, copy your connection string from the properties
10. Make sure Look In: says Entire Solution and click Replace All button at the bottom
11. Project is ready to run!
Vue de la page 19
1 2 ... 15 16 17 18 19 20

Commentaires sur ces manuels

Pas de commentaire