MD-11 MD-11 - 4 months ago 48
C# Question

How to hide C# DataGridView default * row?

C# DataGridView controls have a default, empty last row, marked with a *. How can I hide it?


The row you speak of is the 'new row' row. This can be hidden by setting the AllowUserToAddRows property to false.

Alternatively you can uncheck the 'Enable Adding' tick box in the DataGridView Tasks dialog. See below: