Gets a decimal value from the datareader.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public decimal GetDecimal( string name ) |
Visual Basic |
---|
Public Function GetDecimal ( name As String ) As Decimal |
Parameters
- name
- Type: System..::..String
Name of the column containing the value.
Return Value
Type: DecimalRemarks
Returns 0 for null.