LZ要实现的估计是:上一页 如何实现分页   下一页 模板设置
就是点击分页按钮的时候,分页按钮上显示的是文章标题。这个你在分页事件里写就行了,自定义分页,然后更改按钮的Text为文章的标题就是了

解决方案 »

  1.   

    最简单的就是根据当页ID号,动态设置上一页和下一页的ID。例如:当页ID是3
    < a href=listDetail?id=2>上一页</a>
    < a href=listDetail?id=4>下一页</a>
    不知道理解的对不对。
      

  2.   

    detailview还是什么数据网格控件有分页功能,楼主自己去MSDN上看看吧
      

  3.   


    string sqlstr1="select * from table where ID in(select top 1 ID from table where ID<"+Request.QueryString["ID"].ToString()+" order by ID desc)"
    string sqlstr2="select * from table where ID in(select top 1 ID from table where ID>"+Request.QueryString["ID"].ToString()+" order by ID desc)".......Label1.Text="<a href='.aspx?ID="+sqldr1["ID"].ToString()+"'>"+sqldr1["Title"]+"</a>";
    Label2.Text=...