ADO版本造成recordset无法直接XML持久化-sosopain
Access软件网QQ交流学习群(群号码198465573),欢迎您的加入!
首页 >技术文章> 综合其它


ADO版本造成recordset无法直接XML持久化

发表时间:2009/2/5 1:21:55 评论(0) 浏览(7509)  评论 | 加入收藏 | 复制
   
摘 要:ADO版本造成recordset无法直接XML持久化 解决方案,,更换ado的引用版本。
正 文:

SYMPTOMS
With Microsoft Data Access Components (MDAC) version 2.1 and later, the ADO Reco...

With Microsoft Data Access Components (MDAC) version 2.1 and later, the ADO Recordset object supports the feature to persist an ADO recordset in XML format to a file on the disk by using the Save method of the ADO Recordset object. This data can then be loaded into the Microsoft XML Document Object Model (DOM) from the persisted file.

MDAC 2.5 and later has a feature that saves the ADO recordset directly into the DOM without having to save the data in XML format to a file on disk first. If you try to persist the ADO recordset as XML data directly into the DOM using MDAC 2.1, you receive the following error message:
Run-time error '438'
Object doesn't support this property or method

CAUSE
Persisting the ADO Recordset directly into an XML DOMDocument object utilizes th...

Persisting the ADO Recordset directly into an XML DOMDocument object utilizes the ADO Stream object. The Stream object is an ADO object introduced in ADO 2.5. It does not exist in ADO 2.1, ADO 2.1 SP1, and SP2. Versions of ADO earlier than 2.1 do not support XML persistence.
解决方案,,更换ado的引用版本。

Access软件网交流QQ群(群号:198465573)
 
 相关文章
[ADO教程]用ADO进行切断式操作批量更新  【漏蛧尐魚℡  2013/5/11】
DAO与ADO格式  【小赵  2013/5/24】
【译文】把DAO代码转化为ADO  【周芳(转)  2013/6/4】
ADO, DAO, DoCmd.RunSQL 三种方式用哪一种?  【缪炜  2013/7/19】
常见问答
技术分类
相关资源
文章搜索
关于作者

sosopain

文章分类

文章存档

友情链接