By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,248 Members | 882 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,248 IT Pros & Developers. It's quick & easy.

Convert typed DataSet to untyped DataSet

P: n/a
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
Oct 26 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a

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.

"zlf" <zl***@hotmail.comwrote in message
news:uP****************@TK2MSFTNGP06.phx.gbl...
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

Oct 26 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.