Strongly Typed DataTables aren't serializable
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngescalate' list.
Responses highlighted in red are from those people who are likely to be able to contribute good, authoratitive information to this discussion. They include Microsoft employees, MVP's and others who IMHO contribute well to these kinds of discussions.

Dan Green (VIP)
-----Original Message-----
From: Dan Green [mailto:Click here to reveal e-mail address]
Sent: Wednesday, 26 June 2002 7:26 PM
To: aspngdata
Subject: [aspngdata] Not ans: Strongly Typed DataTables aren't
serializable

DataTables contained within strongly typed dataset aren't marked with
the SerializableAttribute.

Is this by design?
How are they best used with remoting? My experimentation with getting
this to work has been unsuccessful. Calling GetChanges() on the
strongly typed *dataset* (not datatable) seems to work, despite its
associated DataTables not being serializable. Is this the result of
some deep voodoo magic?

Dan Green
[ http://dotnetdan.com -- putting the dan in .net ]

Reply to this message...
 
    
Paul D. Murphy

Strongly typed DataSet tables generated by VS.NET are marked as
internal. I would not be surprised if that's the problem.

Paul

    Paul D. Murphy
    Click here to reveal e-mail address
    "Teamwork is a lot of people doing what I say."

-----Original Message-----
From: Dan Green [mailto:Click here to reveal e-mail address]=20
Sent: Saturday, June 29, 2002 8:58 PM
To: aspngescalate
Cc: David Sceppa
Subject: [aspngescalate] Strongly Typed DataTables aren't serializable

-----Original Message-----
From: Dan Green [mailto:Click here to reveal e-mail address]=20
Sent: Wednesday, 26 June 2002 7:26 PM
To: aspngdata
Subject: [aspngdata] Not ans: Strongly Typed DataTables aren't
serializable

DataTables contained within strongly typed dataset aren't marked with
the SerializableAttribute.

Is this by design?
How are they best used with remoting? My experimentation with getting
this to work has been unsuccessful. Calling GetChanges() on the
strongly typed *dataset* (not datatable) seems to work, despite its
associated DataTables not being serializable. Is this the result of
some deep voodoo magic?

Dan Green
[ http://dotnetdan.com -- putting the dan in .net ]

| [aspngescalate] member Click here to reveal e-mail address =3D YOUR ID
| http://www.asplists.com/asplists/aspngescalate.asp =3D JOIN/QUIT

Reply to this message...
 
 
System.Data.DataSet
System.SerializableAttribute




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com