将数据库对象存储为xml文档 [英] storing database object as a xml document
本文介绍了将数据库对象存储为xml文档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
1-我想使用ado.net将表值存储为xml文件.怎么做.
2反之亦然,即:将xml插入数据库''
你能给我代码吗?
在此先感谢
hi everyone,
1- I want to store the table values as a xml file using ado.net. how to do it.
2-and vice versa,ie:inserting xml to database''
can u give me code.
thanks in advance
推荐答案
请参阅:
http://msdn.microsoft.com/en-us/library/fx29c3yd.aspx [ ^ ]
和
http://msdn.microsoft.com/en-us/library/zx8h06sz.aspx [ ^ ]
See:
http://msdn.microsoft.com/en-us/library/fx29c3yd.aspx[^]
and
http://msdn.microsoft.com/en-us/library/zx8h06sz.aspx[^]
最简单的方法可能是 ^ ]
如您所见,这在某些情况下已得到解决:)
最好的问候
Espen Harlinn
The simplest way is probably to serialize a DataSet[^]
As you can see this has been solved on a few occasions :)
Best regards
Espen Harlinn
这篇关于将数据库对象存储为xml文档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文