Click or drag to resize
HelperIsValidRange Method
Validates int value.

Namespace: Bio.Util
Assembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax
public static string IsValidRange(
	string name,
	int value,
	int minValue,
	int maxValue
)

Parameters

name
Type: SystemString
Name of the field.
value
Type: SystemInt32
Value to validate.
minValue
Type: SystemInt32
Minimum value.
maxValue
Type: SystemInt32
Maximum value.

Return Value

Type: String
Returns empty string if valid; otherwise error message.
See Also