
November 6th, 2010, 05:53 AM
|
|
Registered User
|
|
Join Date: Nov 2010
Posts: 1
Time spent in forums: 28 m
Reputation Power: 0
|
|
|
Malformed string when using FirebirdSQL .NET provider
Hi all,
when I try to run the following code:
Code:
FbCommand command = new FbCommand("insert into t (col) values ('ół')" );
command.CommandTimeout = 0;
command.CommandType = CommandType.Text;
command.Connection = connection;
long key = (long)command.ExecuteScalar();
Then I get exception "Malformed string" due to use national characters. How to avoid this exception?
|