zoukankan
html css js c++ java
在web.config中连接各种数据库代码
1
<?xml version="1.0"?>
2
<configuration>
3
<connectionStrings>
4
<!--
5
This connection is inherited from the ASP.NET Quickstart Web.config file
6
Uncomment this section to edit the sample locally
7
8
<add name="Pubs" connectionString="Server=(local)\SQLExpress;Integrated Security=True;Database=pubs;Persist Security Info=True"
9
providerName="System.Data.SqlClient" />
10
<add name="Northwind" connectionString="Server=(local)\SQLExpress;Integrated Security=True;Database=Northwind;Persist Security Info=True"
11
providerName="System.Data.SqlClient" />
12
<add name="Contacts" connectionString="Server=(local)\SQLExpress;Integrated Security=True;Database=Contacts;Persist Security Info=True"
13
providerName="System.Data.SqlClient" />
14
-->
15
<add name="NorthwindOLEDB" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|Northwind.mdb;"
16
providerName="System.Data.OleDb" />
17
<add name="ContactsDatabase" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|Database.mdf;Integrated Security=True;User Instance=true;"
18
providerName="System.Data.SqlClient" />
19
</connectionStrings>
20
<system.web>
21
<pages styleSheetTheme="Default"/>
22
<caching>
23
<sqlCacheDependency enabled="true" pollTime="1000">
24
<databases>
25
<add name="Pubs" connectionStringName="Pubs"/>
26
</databases>
27
</sqlCacheDependency>
28
</caching>
29
</system.web>
30
</configuration>
31
查看全文
相关阅读:
函数式编程
橡皮筋功能
socket
git命令补充说明
参考接口文档完成的json数据
接口文档怎么写
使用json-server创建mock数据
proxy服务器代理
Cannot read property 'setState' of undefined错误分析
使用ref报错,addComponentAsRefTo(...): Only a ReactOwner can have refs.
原文地址:https://www.cnblogs.com/huashanlin/p/474279.html
最新文章
[Leetcode][Python]46: Permutations
[Leetcode][Python]45: Jump Game II
[Leetcode][Python]44:Wildcard Matching
[Leetcode][Python]43: Multiply Strings
[Leetcode][Python]42: Trapping Rain Water
[Leetcode][Python]41: First Missing Positive
[Leetcode][Python]40: Combination Sum II
[Leetcode][Python]39: Combination Sum
[Leetcode][Python]19: Remove Nth Node From End of List
[Leetcode][Python]37: Sudoku Solver
热门文章
关于内容垂直居中(不定高)
Web前端开发基础规范
打印空心菱形
打印等腰三角形和空心平行四边形
关于zepto(相似于jquery、jQuery用于网页浏览器,zepto用于手机浏览器)
整理react native的资料
关于react native
前端知识~~浏览器内核~~
前端小知识~~关于css3新增知识~~归纳总结
js~~给网站图片添加水印~~~
Copyright © 2011-2022 走看看