ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.CellText Method

Gets the display value for a cell in a given row.

[Visual Basic]

Public Function CellText( _

ByVal row As Integer _

) As String

[C#]

public string CellText(

int row

);

[Delphi]

public function CellText(

row: Int32

): String;

Parameters

row

The row to fetch.

Return Value

The display value.

Remarks

Using the CellText method is similar to accessing the Text property, except that you can select a specific row from which to retrieve the value.

The value returned by the CellText method is derived from the underlying data value by applying the formatting as specified by the NumberFormat property of the C1DataColumn object.

Using the CellText method to extract information from a cell does not affect the current selection.

Use the CellValue method to access the unformatted data value for the specified row.

See Also

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


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