将Web服务数据集导入xml [英] Getting web service dataset into xml

查看:91
本文介绍了将Web服务数据集导入xml的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好


我需要访问返回数据集类型的Web服务方法。

有没有办法将这个远程数据集本地存储为xml文件,使用

vb.net,所以我可以在xml上打开一个本地数据集?一个代码示例是

赞赏。


谢谢


问候

解决方案

一旦数据在数据集中,您就可以使用其WriteXML和ReadXML

方法在本地持久保存数据。


HTH


-


OHM(特里伯恩斯)

。 。 。单手人。 。


当你不知道自己在做什么时,过得很快


" John" <乔** @ nospam.infovis.co.uk>在留言中写道

新闻:ez ************** @ TK2MSFTNGP12.phx.gbl ...



我需要访问返回数据集类型的Web服务方法。有没有办法使用
vb.net将这个远程数据集本地存储为xml文件,所以我可以在xml上打开一个本地数据集?一个代码示例将受到赞赏。

感谢

问候



< blockquote>您好


谢谢你。代码示例会很棒。如果还有另一种方法可以将远程数据集放到本地表中,那就更好了。


谢谢


问候

单手男子(OHM - Terry Burns) < news.microsoft.com>在消息中写道

新闻:%2 ****************** @ TK2MSFTNGP09.phx.gbl ...

一旦数据在数据集中,您就可以使用其WriteXML和ReadXML
方法在本地持久保存数据。

HTH

-
< OHM(特里伯恩斯)
。 。 。单手人。 。

当你不知道自己在做什么时,过得很快

John <乔** @ nospam.infovis.co.uk>在消息中写道
新闻:ez ************** @ TK2MSFTNGP12.phx.gbl ...



我需要访问返回数据集类型的Web服务方法。有没有办法使用
vb.net将这个远程数据集本地存储为xml文件,所以我可以在xml上打开一个本地数据集?一个代码示例将
赞赏。

感谢

问候




嗨约翰,


再一次,我给了你一个应该完全正常工作的样本

你忽略了它,我可以知道为什么吗?


Cor


Hi

I need to access to a web service method that returns a dataset type. Is
there a way to store this remote dataset as an xml file locally, using
vb.net, so I can open a local dataset on the xml? A code example would be
appreciated.

Thanks

Regards

解决方案

Once the data is in the dataset, you can use its WriteXML and ReadXML
methods to persist the data locally.

HTH

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don''t know what you''re doing

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:ez**************@TK2MSFTNGP12.phx.gbl...

Hi

I need to access to a web service method that returns a dataset type. Is
there a way to store this remote dataset as an xml file locally, using
vb.net, so I can open a local dataset on the xml? A code example would be
appreciated.

Thanks

Regards



Hi

Thanks for this. A code example would be great. If there is another way to
get a remote dataset into a local table than that would be even better.

Thanks

Regards
"One Handed Man ( OHM - Terry Burns )" <news.microsoft.com> wrote in message
news:%2******************@TK2MSFTNGP09.phx.gbl...

Once the data is in the dataset, you can use its WriteXML and ReadXML
methods to persist the data locally.

HTH

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don''t know what you''re doing

"John" <jo**@nospam.infovis.co.uk> wrote in message
news:ez**************@TK2MSFTNGP12.phx.gbl...

Hi

I need to access to a web service method that returns a dataset type. Is
there a way to store this remote dataset as an xml file locally, using
vb.net, so I can open a local dataset on the xml? A code example would be appreciated.

Thanks

Regards




Hi John,

Again, I have given you a sample that should be completly working however
you are ignoring it, again, may I know why?

Cor


这篇关于将Web服务数据集导入xml的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆