SetItemDateTime (obsolete)
Description
Sets the value of a row and column in a DataWindow control to the
specified value.
Obsolete method
SetItemDateTime is obsolete and should not be used, because the
Web DataWindow technology is obsolete.
Applies to
|
DataWindow type |
Method applies to |
|---|---|
|
Web |
Server component (see SetItem for equivalent client |
Syntax
Web DataWindow server
component
|
1 2 3 4 |
short dwcontrol.SetItemDateTime ( long row, string column, string value ) short dwcontrol.SetItemDateTimeByColNum ( long row, short column, string value ) |
|
Argument |
Description |
|---|---|
|
dwcontrol |
The name of the Web DataWindow control in which you |
|
row |
The row location of the data. |
|
column |
The column location of the data. Column can be a |
|
value |
The value to which you want to set the data at the |
Usage
Although JavaScript does not distinguish between the Date, DateTime,
and Time datatypes, the DataStore will give an error if the wrong type is
passed. You can use the SetItemDate and SetItemTime methods to set values
in columns with the Date and Time datatypes.
Because the Web DataWindow server component does not support
overloading, you must use the SetItemDateTimeByColNum variant instead of
the standard SetItemDateTime method when you want to refer to the column
by number.
See also