update characters set level=" + cat.level + ",str=" + cat.str + ",dex=" + cat.dex + ",luk=" + cat.luk + ",[`int`] =" + cat.Int + ",meso=" + cat.meso + ",gm=" + cat.gm + " where name='" + cat.name + "'
用C#连接MySql 说有语法错误·
update characters set level=" + cat.level + ",str=" + cat.str + ",dex=" + cat.dex + ",luk=" + cat.luk + ",[`int`] =" + cat.Int + ",meso=" + cat.meso + ",gm=" + cat.gm + " where name='" + cat.name + "'
用C#连接MySql 说有语法错误·
你进mysql里面测试一下看看哪里出错