When i rethink this ....
i believe this is never going to work with a standard dataset
as the deserialize method needs a type that is the same as the serialized
object
and a standard dataset type is not the same as a dataset with a custom
table , so the deserialization will probably crash on the custom table ...
so i guess you can only do this with standard datatypes or a custom wrapper
I for instance write my own custom datat types to a database
however when i retrieve the values for serialization i can use this custom
type as my serialization template
in the case of a dataset that holds a custom datatable you miss the mask for
this custom datatable for correct deserialization .
Hmmm , :-| ,,, Interesting .......
i guess that if you used a class as wrapper , with an object array to hold
the custom datatables you would not have anny problem, this way you should
first cast the wrapper wich would give you the class with datatables as
objects , now you could cast these objects to your custom tables
Well i guess i picked up the gloves , but need to throw the towel in the
ring for the original task :-)
regards
Michel
> Have you tried binary serialization ?
>
[quoted text clipped - 69 lines]
> > TIA,
> > Phill W.
Phill W. - 07 Nov 2006 15:40 GMT
> When i rethink this ....
> i believe this is never going to work with a standard dataset as the
[quoted text clipped - 4 lines]
>
> so i guess you can only do this with standard datatypes or a custom wrapper
. . .
> in the case of a dataset that holds a custom datatable you miss the mask for
> this custom datatable for correct deserialization .
And therein lies my problem... :-(
> Hmmm , :-| ,,, Interesting .......
"Veeerry interesting" (says the german chap in the helmet hiding behind
the potted plant) "but Stupid"... Why should a class derived from
DataTable [de-]serialise any differently to any other class?
> Well i guess i picked up the gloves , but need to throw the towel in the
> ring for the original task :-)
Ah well; at least I have a nice new towel in exchange for my old
gloves... :-)
Thanks anyway.
Phill W.