How to make so that rows from DataGreedView are automatically deleted if they erase data?

    1 answer 1

    DataGreedView has many events.

    You can use the RowLeave event. You subscribe to this event and in the event handler you implement the logic you need, in this case, run along the line and check it for emptiness. If it is completely empty, then delete it.