Class :CA.Blocks.DataAccess.DataHelper
Namespace :CA.Blocks.DataAccess
Assembly : CA.Blocks.DataAccess.dll
GetValueFromRowAsNullDecimal(System.Data.DataRow,System.String) | |
GetValueFromRowAsNullDecimal(System.Data.DataRow,System.Int32) | |
GetValueFromRowAsNullDecimal(System.Data.DataRow,System.Data.DataColumn) |
Will get the data value from the row as a nullable Decimal. The return value will be set to either null or the Decimal value 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.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
columnIndex | System.Int32 |
System.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]
Name | Type | Description | |
---|---|---|---|
dr | System.Data.DataRow | ||
dc | System.Data.DataColumn |
System.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]