[Mono-bugs] [Bug 550960] Dataset binary serialization fails if first row contains nulls.
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Thu Oct 29 07:58:00 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=550960
User stefano.sapienti at apsystems.it added comment
http://bugzilla.novell.com/show_bug.cgi?id=550960#c2
--- Comment #2 from Stefano Sapienti <stefano.sapienti at apsystems.it> 2009-10-29 05:57:59 MDT ---
I changed in systems/system.data/datatable.cs
line 2760
Array recordArray = Array.CreateInstance (Rows[0][j].GetType (), recordsCount);
with
Array recordArray = Array.CreateInstance (Columns[j].DataType, recordsCount);
And it seems to work, dunno if there's some other place with the same issue.
Hope this helps.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list