MySqlDataReader.GetInt16 Method (String)

MySQL Connector/Net

MySqlDataReaderGetInt16 Method (String)
Gets the value of the specified column as a 16-bit signed integer.

Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data (in MySql.Data.dll) Version: 6.9.9
Syntax
public short GetInt16(
	string column
)
Public Function GetInt16 ( 
	column As String
) As Short
public:
short GetInt16(
	String^ column
)
member GetInt16 : 
        column : string -> int16 

Parameters

column
Type: SystemString
The column name

Return Value

Type: Int16
The value of the specified column.
Remarks

No conversions are performed; threfore, the data retrieved must already be a 16 bit integer value.

Call IsDBNull to check for null values before calling this method.

See Also