System.Data.SqlClient Namespace SqlDataReader Class
Returns the value of the specified column as a 32-bit signed integer.
[ VB ]
NotOverridable Public Function GetInt32 ( _
ByVal index As Integer _
) As Integer
[ C# ]
public int GetInt32 (
int index
);
[ C++ ]
public: __sealed int GetInt32 (
int index
);
[ JScript ]
public function GetInt32 (
index : int
) : int
- index
- The zero-based column ordinal.
The value of the column.
No conversions are performed, therefore the data retrieved must already be a 32-bit signed integer.
Call IsDBNull to check for null values before calling this method.
SqlDataReader Members