SetItemString method (DataWindows)
Description
Sets the value of a row and column in a DataWindow control
to the specified value.
A separate method name is provided as an alternative syntax
for the Web DataWindow server component, which cannot use overloaded
methods.
Controls
DataWindow type |
Method applies to |
---|---|
Web |
Server component (see SetItem for |
Syntax
[Web DataWindow server component]
1 |
short <span>dwcontrol</span>.<span>SetItemString</span> ( long <span>row</span>, string <span>column</span>, string <span>value</span> )<br>short <span>dwcontrol</span>.<span>SetItemStringByColNum</span> ( long <span>row</span>, short <span>column</span>,<br> string <span>value</span> ) |
Argument |
Description |
---|---|
dwcontrol |
The name of the Web DataWindow control |
row |
The row location of the data. |
column |
The column location of the data. Column can |
value |
The value to which you want to set the |
Usage
Because the Web DataWindow server component does not support overloading,
you must use the SetItemStringByColNum variant
instead of the standard SetItemString method
when you want to refer to the column by number.