943,548 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 895
  • ASP.NET RSS
Sep 5th, 2009
0

How can i serialize this object?

Expand Post »
Hello all,
what i wanted to ask is, if someone does know how to Serialize or mark as Serializable a Microsoft.SqlServer.Managment.Smo.Table, because when i try to add an instance of a smo.Table to Viewstate, it throws me the following error:

Type 'Microsoft.SqlServer.Managment.Smo.Table' is not marked as Serializable.


Thanx in advance ,
Alex
Reputation Points: 11
Solved Threads: 12
Junior Poster
Alexpap is offline Offline
117 posts
since Sep 2008
Sep 9th, 2009
0

Re: How can i serialize this object?

You cannot store non-serializable objects in ViewState. It is not supported.

But it can be stored in in-proc session.
Reputation Points: 165
Solved Threads: 113
Posting Pro
Ramesh S is offline Offline
580 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Smo.StoredProcedure Help!
Next Thread in ASP.NET Forum Timeline: Enable a button after the textchange event





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC