M
microsoft
I want to access a Sybase11.9.2 database by ADO.net.
Then I create an OleDbConnection named oConn,and the connection string is
"Provider=Sybase.ASEOLEDBProvider;Server Name=myASEserver,5000;Initial
Catalog=myDBname;User Id=username;Password=password", it can be opened
succeeded . But when I use it to query a data table , the result is
rough-and-tumble code (my result is Chinese).
I think that I should set up the character'set of the Sybase database in the
connection string, but I don't know how to do .
Anyone have any ideas?
Huzs
Then I create an OleDbConnection named oConn,and the connection string is
"Provider=Sybase.ASEOLEDBProvider;Server Name=myASEserver,5000;Initial
Catalog=myDBname;User Id=username;Password=password", it can be opened
succeeded . But when I use it to query a data table , the result is
rough-and-tumble code (my result is Chinese).
I think that I should set up the character'set of the Sybase database in the
connection string, but I don't know how to do .
Anyone have any ideas?
Huzs