| GridControlSetExpressionRowCol Method (UInt32, UInt32, String) |
Stores the expression in the specified cell.
Namespace: Stingray.GridAssembly: Stingray.GridControl (in Stingray.GridControl.dll) Version: 14.0.0.0
Syntax public bool SetExpressionRowCol(
uint row,
uint col,
string formula
)
Public Function SetExpressionRowCol (
row As UInteger,
col As UInteger,
formula As String
) As Boolean
public:
bool SetExpressionRowCol(
unsigned int row,
unsigned int col,
String^ formula
)
Parameters
- row
- Type: SystemUInt32
The row index. - col
- Type: SystemUInt32
The column index. - formula
- Type: SystemString
The expression to store.
Return Value
Type:
Booleantrue if the operation is successful,
false otherwise.
Remarks
Parses the given text and based on the text content assigns a
formula, a text label, or a number to the specified cell. If
you are using the formula engine and you want to force numeric
or date values to be stored as string, insert an apostrophe
("'") at the beginning of the text. Formulas can be stored by
inserting an equal sign ('=') at the beginning.
Equivalent to
SetExpressionRowCol(row,
col,
formula,
UpdateNow).
See Also