Click or drag to resize
DataHelperGetIntValue Method (DataRow, String, Int32)
Gets the integer variable from given DataRow.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static int GetIntValue(
	DataRow dr,
	string columnName,
	int defaultValue = 0
)

Parameters

dr
Type: System.DataDataRow
DataRow with the data
columnName
Type: SystemString
Column name
defaultValue (Optional)
Type: SystemInt32
Default value

Return Value

Type: Int32
See Also