Subject | Re: [firebird-support] Re: .NET Provider Beta3 - reading string |
---|---|
Author | Carlos Guzmán Álvarez |
Post date | 2004-05-21T08:59:44Z |
Hello:
My test table:
CREATE TABLE SNIPPETS (
CODE VARCHAR(4000) COLLATE DE_DE
);
My test Case:
string connectionString =
@"Database=localhost/3050:d:\testdb.gdb;user=sysdba;password=masterkey;Charset=ISO8859_1";
FbConnection connection = new FbConnection(connectionString);
connection.Open();
string sql = "SELECT * FROM SNIPPETS";
FbCommand select = new FbCommand(sql, connection);
FbDataReader reader = select.ExecuteReader();
while (reader.Read())
{
Console.WriteLine(reader[0]);
}
reader.Close();
connection.Close();
--
Best regards
Carlos Guzmán álvarez
Vigo-Spain
>Nothing, still the same error/crash.It works well for me (with CVS sources).
>
My test table:
CREATE TABLE SNIPPETS (
CODE VARCHAR(4000) COLLATE DE_DE
);
My test Case:
string connectionString =
@"Database=localhost/3050:d:\testdb.gdb;user=sysdba;password=masterkey;Charset=ISO8859_1";
FbConnection connection = new FbConnection(connectionString);
connection.Open();
string sql = "SELECT * FROM SNIPPETS";
FbCommand select = new FbCommand(sql, connection);
FbDataReader reader = select.ExecuteReader();
while (reader.Read())
{
Console.WriteLine(reader[0]);
}
reader.Close();
connection.Close();
--
Best regards
Carlos Guzmán álvarez
Vigo-Spain