If the database connection changes, you can modify the connection string in the application configuration file instead of editing the source code and recompiling your application.
如果数据库连接发生更改,可在应用程序配置文件中修改连接字符串,而不是编辑源代码并重新编译应用程序。
Add Settings in the application configuration file.
在应用程序配置文件中添加设置。
It then looks in the application configuration file.
然后查看应用程序配置文件。
应用推荐