dotConnect for SQLite Documentation
Devart.Data.SQLite Namespace / SQLiteBlob Class / ToString Method
Example

In This Topic
    ToString Method (SQLiteBlob)
    In This Topic
    Converts the current SQLiteBlob object to a System.String.
    Syntax
    'Declaration
     
    Public Overrides Function ToString() As String
    public override string ToString()

    Return Value

    A System.String with the same value as the SQLiteBlob.
    Remarks
    If a Value is actually a sequence of bytes that represent a string, you can use ToString method to obtain that string. The default encoding is used.
    Example
    The example shows a code fragment that gets a SQLiteBlob field from a SQLiteReader and writes it to the console.
    ...
    SQLiteBlob myBlob = myReader.GetSQLiteBlob(myReader.GetOrdinal("TextColumnName"));
    Console.WriteLine(myBlob.ToString());
    ...
    ...
    Dim Blob As SQLiteBlob = myReader.GetSQLiteBlob(myReader.GetOrdinal("TextColumnName"))
    Console.WriteLine(myBlob.ToString())
    ...
    See Also