SqlDataReader.GetDecimal Method (Int32)
.NET Framework (current version)
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Gets the value of the specified column as a Decimal object.
Assembly: System.Data (in System.Data.dll)
Parameters
- i
-
Type:
System.Int32
The zero-based column ordinal.
Exception | Condition |
---|---|
InvalidCastException | The specified cast is not valid. |
.NET Framework
Available since 1.1
Available since 1.1
Show: