随笔分类 -  关于分页问题

数据记录,文章进行分页
摘要:来源:http://dev.csdn.net/article/37/37213.shtm 建立表 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> 1建立表: 2 3CREATE TABLE [TestTable] ( 4 [ID] [int]... 阅读全文
posted @ 2008-04-01 21:10 yellowwood 阅读(193) 评论(0) 推荐(0)
摘要:HTML: 首页 上一页 下一页 尾页 页次 / 每页记录数 选择跳转页码... 阅读全文
posted @ 2007-09-06 09:57 yellowwood 阅读(346) 评论(0) 推荐(0)
摘要:一、创建AspNetPager对象 二、添加后台代码 1.导入名称空间,using System.Data.SqlClient;或using System.Data.OleDbClient;定义一个变量flag,标识是否有符合条件的记录。 2.写方法:第一次加载数据,重新加载数据。 protected int flag; private void Page_Load(object sende... 阅读全文
posted @ 2007-09-06 01:53 yellowwood 阅读(328) 评论(0) 推荐(0)
摘要:using System; using System.Collections; using System.ComponentModel; using System.Data; using System.Drawing; using System.Web; using System.Web.SessionState; using System.Web.UI; using System.Web.UI.... 阅读全文
posted @ 2007-09-06 01:48 yellowwood 阅读(582) 评论(0) 推荐(0)

Never Give UP