Gets the value of a column in the first row of the given DataTable.
Syntax
Smartsite SXML | Copy Code |
---|---|
any datatable.getvalue(datatable dataTable, integer colNumber) any datatable.getvalue(datatable dataTable, integer rowNumber, integer colNumber) any datatable.getvalue(datatable dataTable, integer rowNumber, string columnName) any datatable.getvalue(datatable dataTable, integer rowNumber, string fieldName, boolean strictFields) any datatable.getvalue(datatable dataTable, string columnName) |
Parameters
Name | Data Type | Description |
---|---|---|
dataTable | DataTable | The data table. |
colNumber | Integer | The column number. |
rowNumber | Integer | The row number (1-based). |
columnName | String | Name of the column. |
fieldName | String | Name of the field. |
strictFields | Boolean | If set to true an exception will be thrown when requesting non-existing fields. |
Return Value
Data Type | Description |
---|---|
Any | The value in the first row of the given column. |