wucf2004的博客

asp.net和ajax
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2006年12月28日

摘要: 1.如果有一个自动增长的id字段,则: 定义二个变量:Page,PageCount Select top PageCount * From [tb_code] Where id>=(select min(id) from (select top (Page-1)*PageCount+1 id from [tb_code] order by id desc) as t) order by i... 阅读全文

posted @ 2006-12-28 13:24 wucf2004 阅读(455) 评论(0) 推荐(0) 编辑