Convert typed DataSet to untyped DataSet

  • Thread starter Thread starter zlf
  • Start date Start date
Z

zlf

Hello
As a known issue, WCF does not allow to transfer typed DataSet. So I have to
copy all data from typed DataSet to untyped DataSet(same table names, column
names and row data). What is the most efficient way to do that? I tried to
remove DataTable from typed one then add to untyped one, but I tell me it is
forbidden to remove tables from typed DataSet.

Thanks

zlf
 
Check this blog entry:
http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!158.entry

It'll show you how to get a DotNet object on both sides of the wire.....

If you're going "dotnet to dotnet", then this should help.

I think (I don't use strong datasets very much anymore) that you can put a
strong ds definition in the "interfaces" library, and then have your client
and server refer the same common assembly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top