ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.Delete Method

Deletes the current row.

[Visual Basic]

Overrides Public Sub Delete()

[C#]

override public void Delete()

[Delphi]

public procedure Delete(); overload; override;

Example

The following code deletes the first 10 rows in the grid:

·      Visual Basic

       Me.C1TrueDBGrid1.Delete(0, 10)

·      C#

       this.c1TrueDBGrid1.Delete(0, 10);

·      Delphi

       Self.C1TrueDBGrid1.Delete(0, 10);

See Also

C1TrueDBGrid Class | C1TrueDBGrid Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.