posted on 2007-08-05 18:12 汪杰 阅读(1298) 评论(2) 编辑 收藏 引用 所属分类: asp(javascrpt)
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)。
回复 更多评论
只有注册用户登录后才能发表评论。