//例如:每页20条记录, n表示页码 string strSql = string.Format("Select top 20 * from table where id not in (Select top {0} id from table)", n * 20);