Mimer SQL Data Provider
GetString Method




Mimer.Data.Client Namespace > MimerDataReader Class : GetString Method
The zero-based column ordinal position.
Gets the value of the specified column as a System.String.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetString( _
   ByVal i As Integer _
) As String
public override string GetString( 
   int i
)
public function GetString( 
    i: Integer
): String; override; 
public override function GetString( 
   i : int
) : String;
public: string* GetString( 
   int i
) override 

Parameters

i
The zero-based column ordinal position.

Return Value

The value of the column as a System.String.
Exceptions
ExceptionDescription
The underlying SQL data type cannot be converted to System.String.
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
The following data types may not be converted to string: BINARY, VARBINARY, and BLOB.

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members