当前位置: 技术问答>java相关
急呀,语句执行不到了??????
来源: 互联网 发布时间:2015-07-10
本文导语: try{ while (rs.next()) {intRowCount=intRowCount+1; if (rs.next()==false) { rs.beforeFirst() ; out.println("sucess") ;} } if(rs.isBeforeFirst()) {out.println(intRowCount) ;} intPageCount = (intRowCount+intPageSize-1) / intPageSize; ...
try{
while (rs.next())
{intRowCount=intRowCount+1;
if (rs.next()==false)
{ rs.beforeFirst() ;
out.println("sucess") ;}
}
if(rs.isBeforeFirst())
{out.println(intRowCount) ;}
intPageCount = (intRowCount+intPageSize-1) / intPageSize;
if(intPage>intPageCount) intPage = intPageCount;
i = (intPage-1) * intPageSize;
for(j=0;j
while (rs.next())
{intRowCount=intRowCount+1;
if (rs.next()==false)
{ rs.beforeFirst() ;
out.println("sucess") ;}
}
if(rs.isBeforeFirst())
{out.println(intRowCount) ;}
intPageCount = (intRowCount+intPageSize-1) / intPageSize;
if(intPage>intPageCount) intPage = intPageCount;
i = (intPage-1) * intPageSize;
for(j=0;j