#12006/6/1 15:22:02
                            
                                
---------------------------------------
本人在做一新闻评论的时候,有的评论数特多,这个时候就要分页处理,我最初的设想是这样的,
1 2 3 、、、、、、
下面是代码
@@@@@@@@@@
<%
            PPage=PageNum-1
                If PPage>0 then
                    strPage="<a href=7363740.asp?PageNum="&PPage&">上一页</a>    "
                    Response.Write(strPage)
                end if    
                For pn=1 to rec.PageCount
                strURL="<a href=7363740.asp?PageNum="&pn&">"&pn&""&"</a>   "
                Response.Write(strURL)
            Next
            NPage=PageNum+1
                If NPage<=rec.PageCount then
                    strPage="<a href=7363740.asp?PageNum="&NPage&">下一页</a>"
                    Response.Write(strPage)
                end if    
            
    %>      
@@@@@@@@@@@@@
现在能实现这样的分页,但是问题出现了,因为我要这个分页显示在我指定的表格内,
但,它好象不会换行,一直无穷延伸下去,这样造成我的版面非常难看,
能不能将它固定在一个框内,能够自动换行啊,