GetSqlInt32 Method
Collapse the table of content
Expand the table of content

SqlCeResultSet.GetSqlInt32 Method

Returns the value of the column at the specified index as type SqlInt32.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public override SqlInt32 GetSqlInt32(
	int ordinal


Type: System.Int32
The ordinal position of the column from which to retrieve data.

Return Value

Type: System.Data.SqlTypes.SqlInt32
The value of the column at the specified index.

An exception is thrown if no field exists at the specified ordinal position.

© 2016 Microsoft