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
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to