MySQL Forums
Forum List  »  Quality Assurance

How to use utf16 with .net
Posted by: freefly pan
Date: May 06, 2013 02:02AM

I creat a table by:
CREATE TABLE test(Name VARCHAR(512) CHARSET utf16) ENGINE=INNODB CHARSET=utf16;

I test in default sample: Connector NET 6.6.5\Samples\Table Editor\cs

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

Mysql version:5.6.11

How can I do to use utf16

Options: ReplyQuote


Subject
Views
Written By
Posted
How to use utf16 with .net
2875
May 06, 2013 02:02AM


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.