Navigation:  Advantage .NET Data Provider > AdsDataReader Class > AdsDataReader Methods >

AdsDataReader.GetInt16

Advantage .NET Data Provider

Previous pageReturn to chapter overviewNext page

Gets the value of the specified column as a 16-bit signed integer.

public short GetInt16( int columnNumber );

Remarks

This method retrieves the specified zero-based column value as a 16-bit signed integer. No conversions are performed, therefore the data retrieved must already be a 16-bit signed integer or an exception is generated. This method cannot be used to retrieve null values. Call AdsDataReader.IsDBNull to check for null values before calling this method.

See Also

GetValue

IsDBNull