DataView RowFilter问题
string tiaojian = "11";DataView view = new DataView(f1.dataGridView1.DataSource as DataTable);
view.RowFilter = "10位书号 like '%" + tiaojian + "%'"; //这句就报错,语法错误:"位数号"运算符后缺少操作数。 去掉10就正常
dataGridView1.DataSource = view;