How can I get the contains for a cell in a RowsRemoved event? RRS feed

  • Question

  • Hi all of you,

    It is a not binded datagridview.

    It does not work at all:

        Private Sub dgv_piezas_definitivo_RowsRemoved(ByVal sender As Object, ByVal e As System.Windows.Forms.DataGridViewRowsRemovedEventArgs) Handles dgv_piezas_definitivo.RowsRemoved


    Thanks a lot,


    Tuesday, July 10, 2012 1:03 PM


  • This is because, when RowsRemoved event fires, the row is already been removed. Hence, you will not get any value.

    Please mark this post as answer if it solved your problem. Happy Programming!

    • Marked as answer by Enric Vives Tuesday, July 10, 2012 2:31 PM
    Tuesday, July 10, 2012 2:27 PM