I would like to delete the first row of the DataGridView before adding any rows through the program. 
Instead of deleting through the program, I would rather remove the first row from the DataGridView properties. 
Any Idea how to do it ?
Thanks
You appear to be referring to the default new row on an editable DataGridView which allows users to add a new row to the grid using the UI.
To stop this row from appearing you simply set the DataGridView.AllowUserToAddRows property to false, either programatically or in the designer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With