开发者

Consuming custom List<object> in FoxPro from webservice

开发者 https://www.devze.com 2023-02-16 15:52 出处:网络
I have a Visual Studio 2010 web service project that creates a custom class and binds my sql query results to that object as a List<object> and return开发者_开发技巧s that. We\'re trying to figu

I have a Visual Studio 2010 web service project that creates a custom class and binds my sql query results to that object as a List<object> and return开发者_开发技巧s that. We're trying to figure out how to consume that object in FoxPro. My object is as follows -

public class CustomObject
{
   public string Name;
   public int Id;
}

Then that gets converted to a List<CustomObject> to contain all the results that are returned. Thanks.


You want to look at the article Rick Strahl has written on this very subject: Using Visual FoxPro to call .Net Web Services for Data Access

0

精彩评论

暂无评论...
验证码 换一张
取 消