http://bugzilla.novell.com/show_bug.cgi?id=591397
http://bugzilla.novell.com/show_bug.cgi?id=591397#c4 --- Comment #4 from Miguel de Icaza <[email protected]> 2010-03-26 18:52:49 UTC --- Tony, when I run this modified version: using System.Data; using System; class X { static void Main () { DataTable dt = new DataTable(); dt.Columns.Add("w", typeof(string)); dt.Columns.Add("P", typeof(string)); dt.Rows.Add(new string[] { "A", "A" }); dt.Rows.Add(new string[] { "B", "B" }); EnumerableRowCollection<DataRow> o = from DataRow oRow in dt.AsEnumerable() where oRow.Field<string>("w") == "A" select oRow; DataTable r = o.CopyToDataTable(); Console.WriteLine ("Must be true => {0}", r.Rows.Count == 1); Console.WriteLine ("Must be false -> {0}", (r.Rows[0].IsNull(0))); //string s =(string) o.CopyToDataTable().Rows[0][0]; } } I get: mono$ mono t3.exe Must be true => True Must be false -> False Both before and after the patch. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
