摘要:
1. 方式一,原始分页:适应性比较好,但代码结构凌乱,分页链接的生成参见 通用手动分页方方法,包含用到的GetPageLinks()函数SQLHelper db = new SQLHelper(g_ConnStr);db.Open();DataSet dt = db.ExecuteDataSet("SELECT * FROM [DCMS_Article] where channel_id=16 order by art_date desc");if (dt.Tables[0].Rows.Count != 0){ int nPageSize = 10; int nShowNum = 5; 阅读全文
posted @ 2010-12-18 17:40
shaoyun
阅读(818)
评论(1)
推荐(0)
浙公网安备 33010602011771号