Skip to main content

Deleting Rows

#Deleting Rows in Code

To delete a data row, use the GridViewBase.DeleteRow method. Data rows are identified by their handles - non negative integer values. For detailed information on how to obtain row handles, see Obtaining Row Handles.

#Example 1: How to Delete the Focused Row using a Cell's Popup Menu

#Example 2: How to Programmatically Add And Remove Grid Rows