ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.Row Property

Gets or sets the the current row.

[Visual Basic]

Public Property Row As Integer

[C#]

public int Row {get;set;}

[Delphi]

public property Row: Int32 read get_Row write set_Row;

Example

The following code assigns a current value into the Row property to change the grids current row:

·      Visual Basic

       ' Update the grid's current row.

       Me.C1TrueDBGrid1.Row = current

·      C#

       // Update the grid's current row.

       this.c1TrueDBGrid1.Row = current;

·      Delphi

       // Update the grid's current row.

       Self.C1TrueDBGrid1.Row := current;

For more information on this example, see the IncrementalSearch sample on http://helpcentral.componentone.com/ProductResources.aspx.

See Also

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


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