110,561
社区成员
发帖
与我相关
我的任务
分享
string UpdataStr = null;
UpdataStr = "UPDATE `" + form + "` SET `" + table + "`='" + values + "' WHERE (`" + wherename + "`='" + wherevalues + "');";
MySQLConnection conn = null;
conn = new MySQLConnection(new MySQLConnectionString(server, database, uid, pwd).AsString);
conn.Open();
MySQLCommand cmd = new MySQLCommand(UpdataStr, conn);
conn.Close();