Datagridview exception

Nov 20, 2012 at 3:00 PM

Hi all,

When i open the attribute table of a layer, it opens in two seperate windows and at closure of these windows an exception is thrown from datagridview. here is the trace:

Can anyone help please?

   at DotSpatial.Symbology.Forms.TableEditorControl.SetSelectionFromLayer() in c:\dev\DotSpatial\DotSpatial.Symbology.Forms\TableEditorControl.cs:line 644
   at DotSpatial.Symbology.Forms.TableEditorControl.SelectedFeaturesChanged(Object sender, EventArgs e) in c:\dev\DotSpatial\DotSpatial.Symbology.Forms\TableEditorControl.cs:line 618
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at DotSpatial.Symbology.Layer.OnSelectionChanged() in c:\dev\DotSpatial\DotSpatial.Symbology\Layer.cs:line 884
   at DotSpatial.Symbology.FeatureLayer.SelectedFeaturesChanged(Object sender, EventArgs e) in c:\dev\DotSpatial\DotSpatial.Symbology\FeatureLayer.cs:line 353
   at DotSpatial.Symbology.Changeable.OnChanged() in c:\dev\DotSpatial\DotSpatial.Symbology\Changeable.cs:line 127
   at DotSpatial.Symbology.IndexSelection.Add(Int32 index) in c:\dev\DotSpatial\DotSpatial.Symbology\IndexSelection.cs:line 601
   at DotSpatial.Symbology.Forms.TableEditorControl.DataGridView1SelectionChanged(Object sender, EventArgs e) in c:\dev\DotSpatial\DotSpatial.Symbology.Forms\TableEditorControl.cs:line 1032
   at System.EventHandler.Invoke(Object sender, EventArgs e)
   at System.Windows.Forms.DataGridView.OnSelectionChanged(EventArgs e)
   at System.Windows.Forms.DataGridView.FlushSelectionChanged()

Nov 28, 2012 at 2:25 PM

can anyone help on this please?