asp.net.ph

SqlDataReader.GetSQLInt16 Method

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

Parameters

index
The zero-based column ordinal.

Return Value

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.

See Also

SqlDataReader Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph