I am writing my first WP7 app, and the data I'm trying to access is from a WebService. If I add a Service Reference, the actual methods return DataTables, which are not supported in WP7. Is there a way around this, or should I resort to a simple 开发者_运维百科WebClient request and parse the xml myself?
The xml result has a DataSet schema which is where the service reference is pulling the info from.
I think you can serialise the dataset to xml using System.Xml.Serialization.XmlSerializer in the service end and also deserialize in the phone.
精彩评论