Home All Groups Group Topic Archive Search About

ArgumentOutOfRangeException

Author
9 Dec 2005 12:56 PM
arujgeorge
hi

i am getting an error of ArgumentOutOfRangeException after deleting
record from the data grid. the code i written is


If GridRepair.VisibleRowCount > 0 Then
                deleteConfirm = MsgBox("Do you want to delete the
selected Record", MsgBoxStyle.DefaultButton2 Or MsgBoxStyle.YesNo,
MESALS)
                If deleteConfirm = MsgBoxResult.Yes Then
                    Dim TransferID As Integer =
GridRepair.CurrentRowIndex
GridRepair.DataSource = Nothing
                    GridRepair.DataSource =
m_RepairAccessoriesCol.EquipmentsInfo
                    GridRepair.Refresh()

please help me .

Author
10 Dec 2005 12:09 AM
Joshua Flanagan
Please provide the full details of the exception (not just the type, but
the Message, and the full stack trace). What line of code is throwing
the exception?

AddThis Social Bookmark Button