当前位置:网站首页>Self use learning notes - connectingstring configuration

Self use learning notes - connectingstring configuration

2022-04-23 17:10:00 Tomato Warrior

 <connectionStrings>

    <add name="DSN" connectionString="server=(local);database=SystemCourse;integrated security=true"/>

    <add name="DSN1" connectionString="server=(local);database=SystemCourse;user  id=sa;password=11"/>

  </connectionStrings>

//name    --------------------------   String name                                  

//server   ---------------------------   Server name

//database -------------------------   Database name

//integrated security  --------------   Set to true when , Before the join statement UserID, PW It doesn't work , using windows Authentication mode .

//user id ---------------------------- user name

//password -------------------------- password

版权声明
本文为[Tomato Warrior]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230553458226.html