MD-11 MD-11 - 1 year ago 186
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 Source

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:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download