How to use UTF16 with .net
Posted by: freefly pan
Date: May 06, 2013 01:46AM

when I change a table and fields to utf16,I cann't get data by MySqlDataAdapter.
I test in default sample: Connector NET 6.6.5\Samples\Table Editor\cs,it's same question.

this is samples code:

data = new DataTable();
da = new MySqlDataAdapter("SELECT * FROM " + tables.SelectedItem.ToString(), conn);
cb = new MySqlCommandBuilder(da);
da.Fill(data); //error:long time no response

test database:sakila
Mysql version:5.6.11

anyone help me!

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.