Home - Forums-.NET - FlyGrid.Net (Windows Forms) - When removing row form closes...

FlyGrid.Net (Windows Forms)

.NET Datagrid - Fast, highly customizable, industry standards .NET data grid control for WinForms

This forum related to following products: FlyGrid.Net

When removing row form closes...
Link Posted: 16-Nov-2008 11:06
I have a small problem, when I use the below code to remove a row from a flyGrid it closes my current windows form.


        Dim selection As NodeBase() = Me.flyGrid1.Rows.GetSelection

        If (selection.Length = 0) Then
            msgbox("Linked item has not been selected")
            Exit Sub
        End If

        Me.flyGrid1.Selected.Remove()


I'm sure I must be doing something wrong.....

Thanks in advance

Simon
Link Posted: 27-Nov-2008 22:57
bump