I am having issues when attempting to serialise a datatable returned from a TableAdapter fill method created via the data set designer.
I have a server executable (which contains the dataset), a client executable and interface referenced by both for proxy purposes.
I guess this is to do with the designer's datatable actually deriving from a datatable (where it adds custom properties and events specific for the data retrieved by the tableadapter). So I have temporarily made an ugly method of creating a standard
new datatable and populating it with column and row data via enumerating the table from the adapter for its column and row data, but I don't want to have to do that!
Standard copy methods on the adapter's table does not work. Whenever I try to get a datatable via remoting and it references the adapter's table, it returns a serializationerror syaing my server assembly cannot be found (well, only the server knows
about these derived datatables so that s understandable). I don't want to move the dataset into the commonly referenced assembly as that sounds like overkill and probably not good practice?
View Complete Post