Articles in this section

How to disable an empty row at the end of the Grid?

In order to disable the addition of a default empty row at the end of the grid, the EnableAddNew property can be used.

 

C#

//Disables the empty row at the end of the Grid.
this.gridDataBoundGrid1.EnableAddNew = false;

 

VB

'Disables the empty row at the end of the Grid.
Me.gridDataBoundGrid1.EnableAddNew = False

 

Screenshot

 

 

Sample Links

 

C#: HideEmptyRow_CS

 

VB: HideEmptyRow_VB

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied