FieldDatabaseDataTable

Inheritance: java.lang.Object

public class FieldDatabaseDataTable

Provides data for the FieldDatabase field result. Please see DataTable instance.

To learn more, visit the Working with Fields documentation article.

Constructors

ConstructorDescription
FieldDatabaseDataTable(String[] columnNames)Initializes a new instance of the FieldDatabaseDataTable class.

Methods

MethodDescription
createFrom(System.Data.DataTable dataTable)Initializes a new instance of the FieldDatabaseDataTable class from the DataTable instance.
getColumnNames()Gets columns that belong to this table.
getRows()Gets rows that belong to this table.

FieldDatabaseDataTable(String[] columnNames)

public FieldDatabaseDataTable(String[] columnNames)

Initializes a new instance of the FieldDatabaseDataTable class.

Parameters:

ParameterTypeDescription
columnNamesjava.lang.String[]

createFrom(System.Data.DataTable dataTable)

public static FieldDatabaseDataTable createFrom(System.Data.DataTable dataTable)

Initializes a new instance of the FieldDatabaseDataTable class from the DataTable instance.

Parameters:

ParameterTypeDescription
dataTableDataTable

Returns: FieldDatabaseDataTable

getColumnNames()

public String[] getColumnNames()

Gets columns that belong to this table.

Returns: java.lang.String[] - Columns that belong to this table.

getRows()

public ArrayList getRows()

Gets rows that belong to this table.

Returns: java.util.ArrayList - Rows that belong to this table.