Table of Contents

Class DataTableSource

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

ITableSource implementation that wraps a DataTable. This class is mutable: changes are permitted to the wrapped DataTable.

public class DataTableSource : ITableSource
Inheritance
DataTableSource
Implements
Inherited Members

Constructors

DataTableSource(DataTable)

Creates a new instance based on the data in table.

Properties

ColumnNames

Gets the label for each column.

Columns

Gets the number of columns in the table.

DataTable

The data table this source wraps.

this[int, int]

Returns the data at the given indexes of the table (row, column).

Rows

Gets the number of rows in the table.