Interface IUpdatableDataSetRow
- All Superinterfaces:
IDataSetRow
A Data Set Row which allows its column values to be updated.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetColumnValue(int index, Object value) Sets the column data by index.voidsetColumnValue(String name, Object value) Sets the column data by column name.Methods inherited from interface IDataSetRow
getColumnValue, getColumnValue, getDataSet
-
Method Details
-
setColumnValue
Sets the column data by index. Column index starts from 1.- Parameters:
index- 1-based index of column. Value must be between 1 and the number of columnsvalue- New value for column (can be null)- Throws:
ScriptException- if index is out of range, or if value cannot be converted to the data type of the column
-
setColumnValue
Sets the column data by column name.- Parameters:
name- name of column- Throws:
ScriptException- Named column does not exist, or if value cannot be converted to the data type of the column
-