SqlDataSource 鏈接Access 數(shù)據(jù)
更新時間:2009年04月13日 11:43:22 作者:
如何用AccessDataSource鏈接有密碼的access數(shù)據(jù)庫總是會報錯,替代方法是用SqlDataSource 鏈接Access 數(shù)據(jù)。
還的我耗費(fèi)了好長時間,研究如何用AccessDataSource鏈接有密碼的access數(shù)據(jù)庫,也沒有成功。
<appSettings/>
<connectionStrings>
<add name="ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\good.mdb;Persist Security Info=True;Jet OLEDB:Database Password=123456"
providerName="System.Data.OleDb" />
<appSettings/>
<connectionStrings>
<add name="ConnectionString" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\good.mdb;Persist Security Info=True;Jet OLEDB:Database Password=123456"
providerName="System.Data.OleDb" />
您可能感興趣的文章:
- ASP.NET2.0數(shù)據(jù)庫入門之SqlDataSource
- aspx中的mysql操作類sqldatasource使用示例分享
- 在ASP.NET 2.0中操作數(shù)據(jù)之三十九:在DataList的編輯界面里添加驗證控件
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十:自定義DataList編輯界面
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十一:DataList和Repeater數(shù)據(jù)分頁
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十二:DataList和Repeater數(shù)據(jù)排序(一)
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十三:DataList和Repeater數(shù)據(jù)排序(二)
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十四:DataList和Repeater數(shù)據(jù)排序(三)
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十五:DataList和Repeater里的自定義Button
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十六:使用SqlDataSource控件檢索數(shù)據(jù)
- 在ASP.NET 2.0中操作數(shù)據(jù)之四十七:用SqlDataSource控件插入、更新、刪除數(shù)據(jù)
相關(guān)文章
詳解JQuery Ajax 在asp.net中使用總結(jié)
這篇文章主要介紹了詳解JQuery Ajax 在asp.net中使用總結(jié),小編覺得挺不錯的,現(xiàn)在分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2017-01-01ASP.NET?MVC使用jQuery的Load方法加載靜態(tài)頁面及注意事項
這篇文章介紹了ASP.NET?MVC使用jQuery加載靜態(tài)頁面的方法,文中通過示例代碼介紹的非常詳細(xì)。對大家的學(xué)習(xí)或工作具有一定的參考借鑒價值,需要的朋友可以參考下2022-09-09asp.net 類庫中使用ConfigurationManager.ConnectionStrings
類庫中使用ConfigurationManager.ConnectionStrings的步驟。2009-06-06Repeater的FooterTemplate顯示某列總計思路與代碼
在Repeater的FooterTemplate顯示某列總計,接下來與大家分享詳細(xì)的實現(xiàn)方案,感興趣的各位可以參考下哈2013-03-03SqlCommandBuilder類批量更新excel或者CSV數(shù)據(jù)的方法
這篇文章主要介紹了SqlCommandBuilder類批量更新excel或者CSV數(shù)據(jù)的方法,需要的朋友可以參考下2015-10-10