Viewing 4 posts - 76 through 79 (of 79 total)
thanks Barry - I'm having trouble with all this stuff - i would think there has to be a generally best way to code custom paging in asp.net, but I'm...
April 30, 2008 at 11:33 am
someone in another forum said the dynamic sql version (the 2nd one) was clearly faster/better
April 30, 2008 at 9:43 am
another article compares four methods:
http://www.codeproject.com/KB/aspnet/PagingLarge.aspx
Conclusion: "The methods performed in the following order, starting from the best one - RowCount, Cursor, Asc-Desc and Subquery."
April 30, 2008 at 9:40 am
sorry, here is the code:
CREATE PROCEDURE [dbo].[usp_PageResults_NAI]
(
@startRowIndex int,
@maximumRows int
)
AS
DECLARE @first_id int, @startRow int
-- A check can be added to make...
April 29, 2008 at 9:36 am
Viewing 4 posts - 76 through 79 (of 79 total)