[Mono-list] CHARSET & MSSQL

Marte Castro cuentas at imarte.net
Tue Jan 31 20:36:20 EST 2006


Hi, my problem is: I can display the left double quote and rigth double 
quote (“ ”) contained in a record of a mssql database. I have tested the 
same program on the diferent platforms

-Windows XP Pro
-Compiled with VS 2003
works ok

&

-RH ES 4
-Mono JIT compiler version 1.1.13.2
-Compiled with VS 2003
works not ok


Here is the code

SQLClass SQLClassObj = new SQLClass("stringConn");
SQLClassObj.Query("select * from Texto where Id = ####");
SQLClassObj.ObjDataReader.Read();
string strTmp = SQLClassObj.ObjDataReader["Texto"].ToString(); //this 
record contains the left double quote and rigth double quote (“ ”)
Console.WriteLine(strTmp);

Any comments?




More information about the Mono-list mailing list