public class DataTable extends Object
| Constructor and Description | 
|---|
DataTable()
Creates a new instance of the DataTable class. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DataTable | 
copy()
Copies both the structure and data in the DataTable. 
 | 
DataTable | 
copy(boolean copyData)
Copies the structure and optionally the data in the DataTable. 
 | 
DataTableReader | 
createDataReader()
Create a DataReader based on the DataTable. 
 | 
DataColumnCollection | 
getColumns()
Gets the columns in the table. 
 | 
DataRowCollection | 
getRows()
Gets the rows of data in the table. 
 | 
DataRow | 
newRow()
Creates a new row of data, but does not add it to the table. 
 | 
public DataRow newRow()
public DataTable copy()
public DataTable copy(boolean copyData)
public DataRowCollection getRows()
public DataColumnCollection getColumns()
public DataTableReader createDataReader()
Copyright © 2021. All rights reserved.