System.Data.OleDb Namespace OleDbDataReader Class
Returns the value of the specified column as a byte.
[ VB ]
NotOverridable Public Function GetByte ( _
ByVal index As Integer _
) As Byte
[ C# ]
public byte GetByte (
int index
);
[ C++ ]
public: __sealed unsigned char GetByte (
int index
);
[ JScript ]
public function GetByte (
index : int
) : Byte
- index
- The zero-based column ordinal.
The value of the specified column.
No conversions are performed, therefore the data retrieved must already be a byte.
Call IsDBNull to check for null values before calling this method.
OleDbDataReader Members