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