X xp166 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-23 #1 我从库里调出了多条纪录,想把他们都显示到表格里,不用分页,该怎么办呢? 请大家帮帮忙吧,急用
Y yzhshi Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-23 #2 不太懂你的意思,是三层结构里面吧? 这有一个和你问题相反的 http://www.delphibbs.com/delphibbs/dispq.asp?lid=791528 设置下面的参数 recordset.AbsolutePate recordset.PageCount recordset.PageSize=你SQL的RecordCount呢? 没用过三层的,随便说吆。[]
不太懂你的意思,是三层结构里面吧? 这有一个和你问题相反的 http://www.delphibbs.com/delphibbs/dispq.asp?lid=791528 设置下面的参数 recordset.AbsolutePate recordset.PageCount recordset.PageSize=你SQL的RecordCount呢? 没用过三层的,随便说吆。[]
X xp166 Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-23 #3 就是在网页上,我用jsp做的查询,可是显示多条记录就不会了
L llk Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-23 #4 <% rs.absolute(pagenumber * numberofline + 1); int tenlines=0; do { tenlines++; %>
P pollux Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-23 #5 ====== ResultSet rst; while(rst.next()){ ... }
S sasacat Unregistered / Unconfirmed GUEST, unregistred user! 2001-12-24 #6 ResultSet rs =stmt.executeQuery(Str); while(rs.next()) { out.println("<table>") ; out.println("<tr>") ; out.println("<td>") ; tmp = rs.getString("name"); out.println( new String(tmp.getBytes("ISO8859_1"))+ "<br>"); out.println("</td>") ; out.println("</tr>") ; out.println("</table>") ; }
ResultSet rs =stmt.executeQuery(Str); while(rs.next()) { out.println("<table>") ; out.println("<tr>") ; out.println("<td>") ; tmp = rs.getString("name"); out.println( new String(tmp.getBytes("ISO8859_1"))+ "<br>"); out.println("</td>") ; out.println("</tr>") ; out.println("</table>") ; }