有100个产品,其中最高价格的为200元,而200元的产品共有40个, 现在好了,对每页30进行分页: declare @PageSize int--30 declare @Page int declare @LowerCount int if @Page = 1 begin select top(@PageSize) from dbo.Product order by Price desc end else begin set @LowerCount = (@Page-1)
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.IO; using System.Data; using System.Diagnostics; using Aspose.Cells; public partial class P_BrieFi