[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITableDataSource

Interface ITableDataSource

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Classes that implement this interface can be regarded as System.Data.DataTable data sources.

public interface ITableDataSource

Methods

GetColumnCount()

Get the column count.

int GetColumnCount()

Returns

int

The column count.

GetColumnIndex(string)

Get the column index.

int GetColumnIndex(string columnName)

Parameters

columnName string

The column name.

Returns

int

The column index.

GetColumnName(int)

Get the column name.

string GetColumnName(int column)

Parameters

column int

Start from 0.

Returns

string

The column name.

GetRowCount()

Get the row count.

int GetRowCount()

Returns

int

The row count.

GetValue(int, int)

Get value from the data source.

object GetValue(int row, int column)

Parameters

row int

Start from 0.

column int

Start from 0.

Returns

object

The value.