ArgumentOutOfRangeException

  • Thread starter Thread starter arujgeorge
  • Start date Start date
A

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 .
 
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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top