mysql 的 collection和character set都设置成utf-8了
insert前也执行了
string sqlstr = "set names \'utf8\'";
MessageBox.Show(sqlstr);
MySQLCommand DBComm = new MySQLCommand(sqlstr, conn);
DBComm.ExecuteNonQuery();然后insert的时候提示incorrect string value请问应如何解决啊? 谢谢
insert前也执行了
string sqlstr = "set names \'utf8\'";
MessageBox.Show(sqlstr);
MySQLCommand DBComm = new MySQLCommand(sqlstr, conn);
DBComm.ExecuteNonQuery();然后insert的时候提示incorrect string value请问应如何解决啊? 谢谢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货