C# code
Code highlighting produced by Actipro CodeHighlighter (freeware)
int ID = Convert.ToInt16(AboutID);
conn = db.GetConn();
OleDbCommand comm = new OleDbCommand("UPDATE NwebCn_About set AboutName=@name where ID=@aboutid", conn);
comm.Parameters.Add("@name",OleDbType.VarChar,50).Value=AboutName.Text;
comm.Parameters.Add("@aboutid",OleDbType.Integer).Value=ID;
comm.ExecuteNonQuery();