Class :CA.Blocks.DataAccess.DataHelper
Namespace :CA.Blocks.DataAccess
Assembly : CA.Blocks.DataAccess.dll
![]() | GetValueFromRowAsDecimal(System.Data.DataRow,System.String) |
![]() | GetValueFromRowAsDecimal(System.Data.DataRow,System.Int32) |
![]() | GetValueFromRowAsDecimal(System.Data.DataRow,System.Data.DataColumn) |
Will get the data value from the row as an Decimal. If the value is null an will be thrown This procedure assumes that the data is an Decimaleger, if not a cast exception will be thrown.
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
sColumnName | System.String |
System.Decimal
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
columnIndex | System.Int32 |
System.Decimal
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
dc | System.Data.DataColumn |
System.Decimal