Need your help

Hi there,

I have a problem when I use myodbc to create a windows application.

The value of one column(latin1_swedish_ci) is "Frullati Caf¨¦", but when I
use following code
......
OdbcDataReader MyDataReader;
MyDataReader = MyCommand.ExecuteReader();
while (MyDataReader.Read())
{
m_primary_name=MyDataReader.GetString(0).ToString();
....
}

to save it to m_primary_name, m_primary_name get blank string. Also MySQL
control center software to show the records in table. "Frullati Caf¨¦" is
changed to "Frullati Caf", I think this problem was generated by character
set. But I really don't know how to fix it.

Look forward to hearing from you ASAP.

Thanks,

Michael

____________________________________________________________ _____
Ãâ·ÑÏÂÔØ MSN Explorer: http://explorer.msn.com/lccn/


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc [at] m.gmane.org
Bao Michael [ Mi, 16 März 2005 07:38 ] [ ID #698959 ]
Datenbanken » gmane.comp.db.mysql.odbc » Need your help

Vorheriges Thema: hex encoded string result of GROUP_CONCAT function
Nächstes Thema: Question????