What i开发者_开发问答s the mysql query syntax to update an existing record
Should be the same as other SQL syntax, no?
UPDATE TableName SET FieldName = Value WHERE Id = AnotherValue
And where does C# code come into this? Exactly how are you accessing the database?
It is all right here: http://dev.mysql.com/doc/refman/5.0/en/update.html.
Just wondering why you didn't google your question first.
精彩评论