DataGridView: remove empty line at bottom (Forms)

To get rid of the empty line at the bottom of a DataGridView control set the following property.

AllowUserToAddRows = false;  

Leave a Reply

Your email address will not be published. Required fields are marked *