Click or drag to resize
DataHelperEnsureRandomValues Method
Ensures random values in specified int column.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static void EnsureRandomValues(
	DataTable dt,
	string columnName,
	int minValue,
	int maxValue
)

Parameters

dt
Type: System.DataDataTable
Data table
columnName
Type: SystemString
Column name
minValue
Type: SystemInt32
Minimal value
maxValue
Type: SystemInt32
Maximal value
See Also