[Mono-bugs] [Bug 72426][Maj] Changed - Cannot filter by Guid type columns in a DataView
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 10 Feb 2005 15:10:33 -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 eto@shaw.ca.
http://bugzilla.ximian.com/show_bug.cgi?id=72426
--- shadow/72426 2005-02-10 15:00:48.000000000 -0500
+++ shadow/72426.tmp.18964 2005-02-10 15:10:33.000000000 -0500
@@ -82,6 +82,19 @@
Convert.ChangeType
("03bb5a35-b4b3-4771-913e-34707646441d", typeof (Guid));
}
}
It should raise an error as MS.NET does.
+
+------- Additional Comments From eto@shaw.ca 2005-02-10 15:10 -------
+Yeah, I figured.. I mentioned it should probably not be done that
+way, as there is no TypeCode for the conversion to/from Guid (in
+MS.NET). I only did that as a hack for myself that I thought I'd
+share.
+
+MS.NET does allow you to filter by Guid in a DataView though. They
+probably do not rely (entirely) on the Convert and IConvertible to
+compare types for the RowFilter. Unfortunately, I'm not sure what
+should be changed to do it properly..
+
+Thanks!