• ASP.Net数据库连接字符串


    <connectionStrings>

           <!--SQL Server数据库的连接字符串-->

           <add

                  name="SQLCONNECTIONSTRING"                       <!--名称-->

                  connectionString="                              

                         data Source=stupidgirl\DD;                    <!--数据源-->

                         database=ChildrenERecord;                   <!--数据库-->

                         user id=child;                                             <!--用户名-->

                         pwd=child"                                             <!--密码-->

                  providerName="System.Data.SqlClient">      <!--数据库提供程序-->

           </add>

          

           <!--Oracle数据库的连接字符串-->

           <add

                  name="ORACLECONNECTIONSTRING"                <!--名称-->

                  connectionString="                              

                         data Source=myoracle;                              <!--数据源-->

                         database=ChildrenERecord;                        <!--数据库-->

                         user id=child;                                                        <!--用户名-->

                         pwd=child"                                                <!--密码-->

                  providerName="System.Data.SqlClient">             <!--数据库提供程序-->

           </add>

          

           <!--ODBC数据库的连接字符串-->

           <add

                  name="ODBCCONNECTIONSTRING"                      <!--名称-->

                  connectionString="

                  DSN=MyAccessDB;"                                            <!--DSN-->                                    

           </add>

          

           <!--OLE DB数据源的连接字符串-->

           <add

                  name="OLEDBCONNECTIONSTRING"                    <!--名称-->

                  connectionString="

                  Provider=Microsoft.Jet.OLEDB.4.0;                      <!--数据库提供程序-->

                  Data Source="                                                   <!--数据源-->                                

           </add>

    </connectionStrings>

  • 相关阅读:
    WebForms和MVC之间的抉择
    RPM install Error: Failed dependencies
    存储NAS和SAN
    python基础31[visualstudio2010来编写python程序]
    Linux系统性能检测
    perl的引用和>
    Linux内存高级 [swap/buffer]
    python类库26[web2py的URL映射]
    python类库31[python的libpath]
    VShpere中创建新Linux(ubuntu)的virtual machine
  • 原文地址:https://www.cnblogs.com/quietwalk/p/1704041.html
Copyright © 2020-2023  润新知