MD-11 MD-11 - 1 month ago 7
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?

Answer

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:

Comments