Datasets are not really the solution, even if you are using typed datasets -
the interoperability with consumers on other platforms is not guaranteed!
You should design your exchanged datataypes so that you can deserialize them
into collections or arrays. Per default, if you specify something like:
<xs:element name="someName" type="xs:string" minOccurs="0"
maxOccurs="unbounded" /> then the types generated by wsdl.exe or xsd.exe (or
even by the Visual Studio web reference wizard) are arrays. You can change
these defaults to be somekind of collections, inheriting from CollectionBase.
"Cyr1dian" wrote:
Hi Michael,
Framework1.1 is unable to serialize quite a few forms of lists, this
includes arrays and datatables. Wrapping it in something that can be
serialized is usually a good solution, e.g.: To send a single datatable I
put it in a dataset and simply take it out again on the other side.
Framework 2.0 elegedly solves this problem.
HTH,
Cyr