Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

How to use UTF16 with .net (4 replies)

$
0
0
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!

Viewing all articles
Browse latest Browse all 1447


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>