php oledb,OLEDB连接方法

posted on 2007-08-05 18:12 汪杰 阅读(1298) 评论(2)  编辑 收藏 引用 所属分类: asp(javascrpt)

36a40d4b942b2f1b5a6af57de1d75ef5.png

FeedBack:

# re: OLEDB连接方法

2007-08-05 23:21 | 汪杰

OLE DB Provider for Simple Provider

The Microsoft OLE DB Simple Provider (OSP) allows ADO to access any data for which a provider has

been written using the OLE DB Simple Provider Toolkit. Simple providers are intended to access data

sources that require only fundamental OLE DB support, such as in-memory arrays or XML documents.

OSP in MDAC 2.6 has been enhanced to support opening hierarchical ADO Recordsets over arbitrary

XML files. These XML files may contain the ADO XML persistence schema, but it is not required. This

has been implemented by connecting the OSP to the MSXML2.DLL, therefore MSXML2.DLL or newer is

required.

oConn.Open "Provider=MSDAOSP;" & _

"Data Source=MSXML2.DSOControl.2.6;"

oRS.Open "http://WebServer/VirtualRoot/MyXMLFile.xml", oConn

For more information, see: Microsoft OLE DB Simple Provider   回复  更多评论

# re: OLEDB连接方法

2009-03-04 16:45 | dd

用于 OLEDB 的 .Net Framework 数据提供程序(System.Data.OleDb)不支持用于 ODBC 驱动程序的 Microsoft OLE DB 提供程序(MSDASQL)。请使用用于 ODBC 的 .Net Framework 数据提供程序(System.Data.Odbc)。

回复  更多评论

只有注册用户登录后才能发表评论。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值