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