摘要: 1 关键是,你是要实现什么功能:是四个条件都有内容时查询,还是哪个内容有查哪个? 2 如果四个组合框都有内容,相对简单些: 3 string s = "select * from 表名 where 身份='" + comboBox1.SelectedItem.ToString() + "' and 部门='" + comboBox2.SelectedItem.ToString() +... 阅读全文
posted @ 2018-05-19 09:16 WhiteSpace 阅读(243) 评论(0) 推荐(0) 编辑