Sql Update 语句 怎么写
conn1.Open();
string sex;
if (this.radioButton1.Checked)
{
sex = "男";
}
else { sex = "女"; }
OleDbCommand cmd = new OleDbCommand("update Student_information set 性别 like '" + sex + "',身份证 like '"
+ textBox1.Text + "',专业 like '"
+ textBox2.Text + "' where 姓名 like'"
+ textBox3.Text + "'",conn1);
textBox3.ReadOnly = false;
cmd.ExecuteNonQuery();
conn1.Close();
运行的时候说我update 语法错误,求大佬给讲讲