PC Review


Reply
Thread Tools Rate Thread

Convert typed DataSet to untyped DataSet

 
 
zlf
Guest
Posts: n/a
 
      26th Oct 2007
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


 
Reply With Quote
 
 
 
 
sloan
Guest
Posts: n/a
 
      26th Oct 2007

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" <(E-Mail Removed)> wrote in message
news:uP%(E-Mail Removed)...
> 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
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert a untyped DataSet object to an strongly typed DataS =?Utf-8?B?R2VyZGE=?= Microsoft ADO .NET 4 9th Sep 2005 08:44 AM
convert untyped datatable/dataset into strongly typed Somebody_Out_There Microsoft ADO .NET 2 15th May 2004 12:12 AM
convert untyped datatable/dataset into strongly typed Somebody_Out_There Microsoft C# .NET 1 14th May 2004 09:40 PM
copying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft Dot NET Framework 3 31st Oct 2003 01:05 PM
copying a datatable content from an untyped dataset into a table which is inside a typed dataset Nedu N Microsoft ADO .NET 2 31st Oct 2003 01:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:22 AM.