|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
ArgumentOutOfRangeExceptioni 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 . |
|||||||||||||||||||||||