asisurfer

I would like to serialize just the table collection found within the dataset. Is this possible

Re: .NET Remoting and Runtime Serialization Is the data table collection Tables found within a dataset serializable?

Sowmy Srinivasan

Yes. It is marked serializable. Are you seeing any problems serializing a DataTable




Re: .NET Remoting and Runtime Serialization Is the data table collection Tables found within a dataset serializable?

asisurfer

Please note that I am not referring to serializing an individual data table, I am referring to serializing the DataTableCollection found within the DataSet. The member name is Tables. Under the 2.0 framework if I try to serialize the DataSet.Tables member I receive the following error message: "Type 'System.Data.DataTableCollection' in Assembly 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' is not marked as serializable."



Re: .NET Remoting and Runtime Serialization Is the data table collection Tables found within a dataset serializable?

Sowmy Srinivasan

My bad. You may need to iterate it and serialize theindividual tables themselves.

Thanks






Re: .NET Remoting and Runtime Serialization Is the data table collection Tables found within a dataset serializable?

asisurfer

Was this by design or an oversight



Re: .NET Remoting and Runtime Serialization Is the data table collection Tables found within a dataset serializable?

Sowmy Srinivasan

I do not have that information. You may get a better answer posting it in a DataSet forum (http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=45&SiteID=1).