字符集的問題女器,只需要在連接時加入對應字符集信息即可隧土。string ConnectString = "server=localhost;Uid=root;Pwd=123456;Database=bookdb;Charset=utf8";