Ok, I'm able to delete the row from the datagrid but if I close it and reopen it, it still has the same items that were deleted on the grid. I tried doing the .AcceptChanges() but that didn't work. This is what I have to delete the row:
Code:Dim dv As New DataView(Me.dsPar.Tables(0)) dv.Delete(dgDelete.CurrentRowIndex()) dsPar.Tables(0).AcceptChanges() 'Me.FillDgDelete() Me.dgDelete.DataSource = dv




Reply With Quote