asp.net.ph

OleDbDataReader.GetInt64 Method

System.Data.OleDb Namespace   OleDbDataReader Class


Returns the value of the specified column as a 64-bit signed integer.

[ VB ]
NotOverridable Public Function GetInt64 ( _
   ByVal index As Integer _
) As Long

[ C# ]
public long GetInt64 (
   int index
);

[ C++ ]
public: __sealed __int64 GetInt64 (
   int index
);

[ JScript ]
public function GetInt64 (
   index : int
) : long

Parameters

index
The zero-based column ordinal.

Return Value

The value of the column.

Exceptions


Exception Type Condition
InvalidCastException Occurs when the specified cast is not valid.

Remarks

No conversions are performed, therefore the data retrieved must already be a 64-bit signed integer.

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

See Also

OleDbDataReader Members Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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