×

connectionstring config ec

connectionstring(web.config中的connectionString里面应该怎么写)

admin admin 发表于2023-06-19 20:59:06 浏览36 评论0

抢沙发发表评论

本文目录

web.config中的connectionString里面应该怎么写

这是用来连接数据库的
《connectionStrings》
《add name=“起个名字“ connectionString=“Data Source=服务器名;database=数据库名,Uid=用户名;Pwd=用户密码;“/》
《/connectionStrings》

connectionstring怎么写

connection string

连接字符串;连接字串;连接串;联机字符串;连接字符串

例句:

  • 1

  • A connection string and various options are specified in the service configuration file.  

  • 连接字符串和各个选项在服务配置文件中指定。

  • 2

    An error occurred setting one or more connection string property values.     

    在设置一个或多个连接字符串属性值时发生了错误。  

  • 3

    Check the connection string and credentials to resolve the error and open the query designer.     

    检查连接字符串和凭据以解决错误并打开查询设计器。