语句相与
发表在Java答疑区
2016-12-15
是否精华
是
否
版块置顶:
是
否
ResultSet haveUser1 =
Dao.query(
//"select * from tb_gysinfo where name='"
//+ gysQuanCheng.getSelectedItem().toString().trim() + "'"+
"select * from tb_spinfo where spname='"
+ quanCheng.getText().trim() + "'"
+"and gg='"+guiGe.getText().trim() + "'");
ResultSet haveUser2 =
Dao.query("select * from tb_gysinfo where name='"
+ gysQuanCheng.getSelectedItem().toString().trim() + "'");
//ResultSet haveUser =
//Dao.query("select * from tb_gysinfo where name='"
//+ gysQuanCheng.getSelectedItem().toString().trim() + "'");
以上语句能相与运算后再执行下面程序吗
try {
首页上一页 1 下一页尾页 5 条记录 1/1页