[Mono-bugs] [Bug 79151][Wis] Changed - ReportBuilder crash
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Aug 25 17:10:39 EDT 2006
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 unserkonig at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=79151
--- shadow/79151 2006-08-25 17:02:58.000000000 -0400
+++ shadow/79151.tmp.27786 2006-08-25 17:10:39.000000000 -0400
@@ -119,6 +119,23 @@
Now, I don't know enough about DataGrid, and probably this is a bad
practice (to call EndInit without calling EndInit), but I think we
have to solve this issue anyway.
(The attached sample should print a value different than "null").
+
+------- Additional Comments From unserkonig at gmail.com 2006-08-25 17:10 -------
+using System;
+using System.Windows.Forms;
+
+public class Test
+{
+ static void Main ()
+ {
+ DataGrid dg = new DataGrid ();
+ dg.BeginInit ();
+ dg.DataSource = new string [] {"Carlos", "Alberto"};
+ MessageBox.Show ("DataSource = " + (dg.DataSource ==
+null ? "null" : dg.DataSource)); // Shouldn't be null
+ }
+}
+
More information about the mono-bugs
mailing list