what is wrong with this code please???

private void btnUpdt_Click(object sender, EventArgs e)


OleDbConnection myConnection2 = new OleDbConnection(con);
string stUpd = "update std2 set names='" + txtNm.Text + "' ,schs= '" + txtSch.Text + "',where ids='"+txtId.Text+"'";
myConnection2.Open();
OleDbCommand stCmd2 = new OleDbCommand(stUpd, myConnection2);
stCmd2.ExecuteNonQuery();
myConnection2.Close();
MessageBox.Show("updated");