Click or drag to resize
FormGetValueInt Method
Get field value as integer.

Namespace:  GeonBit.UI.Utils.Forms
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual int GetValueInt(
	string fieldId,
	Nullable<int> defaultVal = null
)

Parameters

fieldId
Type: SystemString
Field to get.
defaultVal (Optional)
Type: SystemNullableInt32
Default value to return if value to get is null, unselected, or empty string.

Return Value

Type: Int32
Field's value.
See Also