string p = TextBox14.Text; string q = TextBox15.Text;
string r = TextBox16.Text; string t = TextBox17.Text;
OleDbConnection conn = new OleDbConnection(); conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|db1.mdb"; OleDbCommand comm = new OleDbCommand(); conn.Open(); comm.Connection = conn;
comm.CommandText = "UPDATE [userdetail] SET [username]='" + z + "',[sex]='" + b + "',[age]='" + c + "',[nativeplace]='" + d + "',[tel]='" + s + "',[email]='" + k + "',[xueli]='" + g + "',[school]='" + f + "',[position]='" + i + "',[english]='" + y + "',[jybj]='" + m + "',[gzjl]='" + n + "',[zytc]='" + o + "',[zycg]='" + p + "',[jtqk]='" + q + "',[xqah]='" + r + "',[qzyx]='" + t + "' WHERE [tel] ='" + x + "'";