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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] 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 + } +} + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
