Skip to content

Hide the “new” row in a DataGridView

To hide the new row in a DataGridView, you can set the AllowUserToAddRows property to false:

dataGridView.AllowUserToAddRows = false;


Be First to Comment

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.