出现这个resultset cannot be resolved to a type怎么解?
Stringsql2="";sql2="selecttop5*fromyouqinglianjiewhere1=1";sql2=sql2+"orderbyiddesc";...
String sql2="";
sql2="select top 5 * from youqinglianjie where 1=1";
sql2=sql2+" order by id desc";
ResultSet RS_result2=connDbBean.executeQuery(sql2);
String wangzhanmingcheng="";String wangzhi="";
//int i=0;
while(RS_result2.next()){
//i=i+1;
wangzhanmingcheng=RS_result2.getString("wangzhanmingcheng");wangzhi=RS_result2.getString("wangzhi");
%> 展开
sql2="select top 5 * from youqinglianjie where 1=1";
sql2=sql2+" order by id desc";
ResultSet RS_result2=connDbBean.executeQuery(sql2);
String wangzhanmingcheng="";String wangzhi="";
//int i=0;
while(RS_result2.next()){
//i=i+1;
wangzhanmingcheng=RS_result2.getString("wangzhanmingcheng");wangzhi=RS_result2.getString("wangzhi");
%> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询