Back to Devexpress

ASPxGridView.DeleteRow(Int32) Method

aspnet-devexpress-dot-web-dot-aspxgridview-dot-deleterow-x28-system-dot-int32-x29.md

latest1.6 KB
Original Source

ASPxGridView.DeleteRow(Int32) Method

Deletes the specified row.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public void DeleteRow(
    int visibleIndex
)
vb
Public Sub DeleteRow(
    visibleIndex As Integer
)

Parameters

NameTypeDescription
visibleIndexInt32

An integer value that identifies the row.

|

Remarks

Once the DeleteRow method is called, the ASPxGridView.RowDeleting event is raised. It allows you to cancel the delete operation. After a row has been deleted, the ASPxGridView.RowDeleted event is raised.

End-users can delete rows by clicking the Delete command.

See Also

RowDeleting

RowDeleted

Grid View

ASPxGridView Class

ASPxGridView Members

DevExpress.Web Namespace