简体   繁体   English

从服务器到vb.net返回数据数组

[英]return array of data from from server to vb.net

I need to return an array of data securely from my webserver to my vb.net application in this format, something like an update that has to be done regularly. 我需要以这种格式将一系列数据从Web服务器安全地返回到vb.net应用程序,例如必须定期进行的更新。

name1, age1, sex1, location1 名称1,年龄1,性别1,位置1

name2, age2, sex2, location2 名称2,年龄2,性别2,位置2

name3, age3, sex3, location3 名称3,年龄3,性别3,位置3

..... .....

so what is the best way to get this data so that i can easily process it from my vb.net application 那么获取此数据的最佳方法是什么,这样我就可以轻松地从vb.net应用程序对其进行处理

[EDIT] [编辑]

I forgot to mention that my website is developed in php. 我忘了提到我的网站是用php开发的。

Create a Web Service or an Application Service. 创建一个Web服务或一个应用程序服务。 See here for full info: http://msdn.microsoft.com/en-us/library/t745kdsh.aspx 有关完整信息,请参见此处: http : //msdn.microsoft.com/zh-cn/library/t745kdsh.aspx

There's a LOT of info there but actually, it's VERY simple to set up a web service and consume it from .NET. 那里有很多信息,但是实际上,设置Web服务并从.NET使用它非常简单。

The videos here may serve as a gentler introduction: http://msdn.microsoft.com/en-us/netframework/dd939784 此处的视频可以作为较温和的介绍: http : //msdn.microsoft.com/zh-cn/netframework/dd939784

And another good video can be found here: http://www.asp.net/general/videos/an-introduction-to-soap-based-web-services-with-visual-web-developer-2008 - This one is more of an introduciton but really, it should be about all you need. 另外一个很好的视频可以在这里找到: http : //www.asp.net/general/videos/an-introduction-to-soap-based-web-services-with-visual-web-developer-2008-这个是更多介绍,但实际上,应该满足您的所有需求。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM