[Mono-bugs] [Bug 71601][Wis] Changed - Can't store a DataSet in a ViewState

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 22 Jan 2005 11:30:56 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rogerio.araujo@gmail.com.


--- shadow/71601	2005-01-22 09:53:00.000000000 -0500
+++ shadow/71601.tmp.18513	2005-01-22 11:30:56.000000000 -0500
@@ -1,14 +1,14 @@
 Bug#: 71601
 Product: Mono: Class Libraries
 Version: 1.1
+OS: unknown
 OS Details: 
 Status: NEW   
+Severity: Unknown
 Priority: Wishlist
 Component: Sys.Web
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: rogerio.araujo@gmail.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -112,6 +112,13 @@
 Additional Information:
 MySqlDataAdapter adapter = new MySqlDataAdapter(dbcmd);
 DataSet          dtsArquivos = new DataSet ();
 adapter.Fill(dtsArquivos, "dtsArquivos");		
 ViewState["Arquivos"] = dtsArquivos;
+------- Additional Comments From rogerio.araujo@gmail.com  2005-01-22 11:30 -------
+The problem is, in fact System.ComponentModel.ComponentConverter
+doesn't have a default contructor, this class need to know with type
+he needs to convert/serialize to store in a view state. So public
+static object CreateInstance(Type type, bool nonPublic) at
+Activator.cs in line 240 doesn't works fine for this situation.