[Mono-dev] Maybe a System.Data.OracleClient.dll bug

David jiangchengyao at gmail.com
Mon Sep 25 23:33:38 EDT 2006


Finally, I find a way to insert the string.

In my sample;

// insert 4 length chinese string to database
parm.Value = "²âÊÔ²åÈë";

// and give it eight space like :
parm.Value = "²âÊÔ²åÈë        ";

then all the string will insert into the database, and you will not
see the space
the string length in database is 4 as we expected.

My conclusion is : parm.Value should be the string you want and plus
the 2*string's length space


More information about the Mono-devel-list mailing list