List:Commits« Previous MessageNext Message »
From:rburnett Date:February 29 2008 6:26pm
Subject:Connector/NET commit: r1201 - in branches/5.2: . VisualStudio/DocumentView/Editors
View as plain text  
Modified:
   branches/5.2/CHANGES
   branches/5.2/VisualStudio/DocumentView/Editors/AdvancedDataGridView.cs
Log:
- Fixed problem in datagrid code related to creating a new table.  This problem may
  have been introduced with .NET 2.0 SP1.   


Modified: branches/5.2/CHANGES
===================================================================
--- branches/5.2/CHANGES	2008-02-29 15:32:48 UTC (rev 1200)
+++ branches/5.2/CHANGES	2008-02-29 18:26:02 UTC (rev 1201)
@@ -5,6 +5,8 @@
   altered in Visual Studio (bug #34940)
 - Fixed problem where the TableAdapter wizard was no longer able to generate commands
   using stored procedures because of our change to using @ instead of ? (bug #34941)
+- Fixed problem in datagrid code related to creating a new table.  This problem may
+  have been introduced with .NET 2.0 SP1.   
     
 Version 5.2.1 - 2/27/2008
 - Tons of fixes in providers.  The actually work now.  :)

Modified: branches/5.2/VisualStudio/DocumentView/Editors/AdvancedDataGridView.cs
===================================================================
--- branches/5.2/VisualStudio/DocumentView/Editors/AdvancedDataGridView.cs	2008-02-29 15:32:48 UTC (rev 1200)
+++ branches/5.2/VisualStudio/DocumentView/Editors/AdvancedDataGridView.cs	2008-02-29 18:26:02 UTC (rev 1201)
@@ -368,7 +368,8 @@
         /// </returns>
         private object GetNextValue()
         {
-            if (OrdinalColumn.ValueType != typeof(Int64))
+            if (OrdinalColumn.ValueType != typeof(Int64) &&
+                OrdinalColumn.ValueType != typeof(UInt64))
             {
                 Debug.Fail("Unsupported ordinal column type!");
                 return Rows.Count;

Thread
Connector/NET commit: r1201 - in branches/5.2: . VisualStudio/DocumentView/Editorsrburnett29 Feb