[Mono-bugs] [Bug 313664] DataSet class Merge method problem
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri May 15 14:55:29 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=313664
User chris at clevertech.net added comment
http://bugzilla.novell.com/show_bug.cgi?id=313664#c1
Chris Langsenkamp <chris at clevertech.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chris at clevertech.net
--- Comment #1 from Chris Langsenkamp <chris at clevertech.net> 2009-05-15 12:55:28 MDT ---
Mono 2.4
Works with .Net normally
Similar problem:
Create MasterDataSet
Create MergeDataSet
Fill a new table and add to MergeDataSet
Call MasterDataSet.Merge(MergeDataSet,True)
--Fine up to this point
Create MergeDataSet2
Fill a new table and add to MergeDataSet2
Call MasterDataSet.Merge(MergeDataSet2,True)
--Exception occurs
System.InvalidCastException: Cannot cast from source type to destination type.
at System.Data.DataViewManager.CollectionToListChangeEventArgs
(System.ComponentModel.CollectionChangeEventArgs e) [0x00038] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataViewManager.cs:423
at System.Data.DataViewManager.TableCollectionChanged (System.Object sender,
System.ComponentModel.CollectionChangeEventArgs e) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataViewManager.cs:411
at System.Data.DataTableCollection.OnCollectionChanged
(System.ComponentModel.CollectionChangeEventArgs ccevent) [0x0000b] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataTableCollection.cs:265
at System.Data.DataTableCollection.Add (System.Data.DataTable table)
[0x000f2] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataTableCollection.cs:141
at System.Data.MergeManager.AdjustSchema (System.Data.DataSet targetSet,
System.Data.DataTable sourceTable, MissingSchemaAction missingSchemaAction,
System.Data.DataTable& newTable) [0x0004a] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\MergeManager.cs:276
at System.Data.MergeManager.Merge (System.Data.DataSet targetSet,
System.Data.DataTable sourceTable, Boolean preserveChanges, MissingSchemaAction
missingSchemaAction) [0x00032] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\MergeManager.cs:62
at System.Data.MergeManager.Merge (System.Data.DataSet targetSet,
System.Data.DataSet sourceSet, Boolean preserveChanges, MissingSchemaAction
missingSchemaAction) [0x0004d] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\MergeManager.cs:45
at System.Data.DataSet.Merge (System.Data.DataSet dataSet, Boolean
preserveChanges, MissingSchemaAction missingSchemaAction) [0x00027] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataSet.cs:265
at System.Data.DataSet.Merge (System.Data.DataSet dataSet, Boolean
preserveChanges) [0x00000] in
C:\cygwin\tmp\monobuild\build\BUILD\mono-2.4\mcs\class\System.Data\System.Data\DataSet.cs:245
--
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