DataHelperGetIntValue Method (DataRow, String, Int32) |
Gets the integer variable from given DataRow.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax 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:
Int32See Also