不太明白,分页显示吗?
http://expert.csdn.net/Expert/topic/1729/1729983.xml?temp=.5648462

解决方案 »

  1.   

    看我的:
    <table>
    <%while (RS.next()) {%>
                <tr >
          <td align="center"><font size="2" color="#000080"><%=RS.getString("MCh")%></font></td>
          <td align="center" ><font size="2" color="#000080"><%=RS.getString("XHGG")%></font></td>
                  
          <td align="center" ><font size="2" color="#000080"><%=RS.getString("DW")%></font></td>
                  
          <td align="center" ><font size="2" color="#000080"><%=RS.getString("ShL")%></font></td>
                  
          <td align="center" ><font size="2" color="#000080"><%=RS.getFloat("DJ")%></font></td>
                  
          <td align="center" ><font size="2" color="#000080"> <%=(RS.getInt("ShL"))*(RS.getFloat("DJ"))%></font></td>
                  
          <td align="center" ><font size="2" color="#000080"><%=RS.getString("GJRQ")%></font></td>
     </tr><%}%></table>
      

  2.   

    哇,我想他的意思是要把表格保存到数据库吧~~用UBB吧:)
      

  3.   

    如果你想在java应用程序中用表格显示的话,你可以继承抽象类:AbstractTableModel可以满足基本的要求。如果你是要在Jsp中显示的话,楼上yannqi(燕祺) 已经说过啦!!!