resort boin无修在线:如何在web.config文件中配置连接Access数据库?
来源:百度文库 编辑:高考问答 时间:2024/03/28 23:55:35
asp.net 2.0
<connectionStrings>
<add name="qxConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Inetpub\wwwroot\qx\App_Data\personBase.mdb"
providerName="System.Data.OleDb" />
</connectionStrings>
asp.net 1.0
<add key ="qxConnectionString" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\Inetpub\wwwroot\qx\App_Data\personBase.mdb"
providerName="System.Data.OleDb"/>
你只要把dataSource改成你的数据库文件在的路径就行了
如何在web.config文件中配置连接Access数据库?
ASP.NET 中Web.config文件如何设置?
在.net 中怎样生成web.config文件呢
如何检验web.config配置是否正确
请教web.config配置
ASP.NET中使用web.config配置数据库连接
关于ASP.NET中Web.config里的配置节
为什么在Visual Studio 2005中 新建一个网站时没有Web.Config这个文件?
asp.net 中,如何通过配置web.config里面的 authentication来对不同的网页进行访问保护
请问如何在Java Application Server的web.xml中配置Jsp与bean文件?