Consuming custom List<object> in FoxPro from webservice
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
精彩评论