Home > Net >  How to modify the app. The path of the database in the config
How to modify the app. The path of the database in the config

Time:11-24

Here is the app.
config code<? The XML version="1.0" encoding="utf-8"?>





ProviderName="System. The Data. SqlClient"/& gt;
The connectionString="Data Source=. \ sqlexpress; Initial Catalog=the student dormitory management system; Integrated Security=True "
ProviderName="System. The Data. SqlClient"/& gt;
ProviderName="System. The Data. SqlClient"/& gt;



Browse & lt;/value>






Database name for the picture blue
Server is called the second picture

CodePudding user response:

It's time to hand in the graduation thesis, too strange flower, the name of your database
I used to use the account password, you can use the vs resource manager connection to your database, it connects will help you to generate a connection string, and after you use them directly

CodePudding user response:

You upload a photo or the side, you are the one who should take an examination of

CodePudding user response:

Photos showed people lying down, effort!

CodePudding user response:

https://blog.csdn.net/qq_38909554/article/details/104075637

According to the operation, copy the connection string to your configuration file

CodePudding user response:

ConfigurationManager class understanding once, remember don't modify the file bug mode, because can modify is invalid,
  •  Tags:  
  • C#
  • Related