R
Rich Newman via .NET 247
We are developing a client in C# that uses Web Services writtenin Java. These typically return simple arrays of objects. Incertain cases we'd like to map these arrays to the obviousequivalent DataSet/DataTable representation so we can easilybind them to a grid, and also to simply track changes forconcurrency.
Clearly we can do this by getting the array and looping throughit, setting up the data on an appropriate DataTable. However,this is painful to write and seems inefficient - is there abetter way? In particular can we interrupt the XMLdeserialization in some way and tell it to deserialize into apredefined DataSet schema??
Clearly we can do this by getting the array and looping throughit, setting up the data on an appropriate DataTable. However,this is painful to write and seems inefficient - is there abetter way? In particular can we interrupt the XMLdeserialization in some way and tell it to deserialize into apredefined DataSet schema??