Interface ICellsDataTable

Interface ICellsDataTable

Namespace: Aspose.Cells
Assembly: Aspose.Cells.dll (25.2.0)

Represents data table.

public interface ICellsDataTable

Properties

Columns

Gets the columns’ name.

string[] Columns { get; }

Property Value

string[]

Count

Gets the count of the records. -1 for unknown records count.

int Count { get; }

Property Value

int

this[int]

Gets the data stored in the column specified by index.

object this[int columnIndex] { get; }

Property Value

object

this[string]

Gets the data stored in the column specified by column name.

object this[string columnName] { get; }

Property Value

object

Methods

BeforeFirst()

Move the cursor to the front of this object, just before the first row.

void BeforeFirst()

Next()

Moves the cursor down one row from its current position.

bool Next()

Returns

bool

if the new current row is valid; false if there are no more rows