在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
<connectionStrings> <add name="CustomerDataConnectionString" connectionString="Server=zj; UID=sa; PWD=123456; DataBase=test;" providerName="System.Data.SqlClient" /> </connectionStrings> access: <connectionStrings> <add name="ConnectionString_Access" connectionString="/data/blog.mdb"/> </connectionStrings> 连接字符: private static string CONNECTIONSTR = ConfigurationManager.ConnectionStrings["CustomerDataConnectionString"].ConnectionString; //定义数据库连接字段 |
请发表评论