姓名是字符串类型!要加单引号的例如 select * from Table_1=‘ “ +textBox1.Text+” ’"
sql语句定义那一块
* string searchString="select * from Table_1 where 姓名=‘“+textBox1.Text+”’";
String sqlcoms = "select * from " + comboBox4.Text + " where 表列名= ' " + textBox1.Text + " ' ";