473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Record Paging

Hello,

I am converting an ASP page to ASP.Net. In one page, I am using record
paging. I have read that while the DataGrid control has paging, it can tax
resources. So I did a Google and found and example of using the Repeater
control (http://aspnet.4guysfromrolla.com/art...091003-1.aspx). My
question is at approximately how many records does it make sense to not use
the DataGrid control, or should I always use something like the example
website that I provided? I'm just trying to get a feel for what other users
have experienced.

--
Thanks in advance,

Steven
Nov 18 '05 #1
2 1331
If you have several hundred records or less then the standard datagrid
paging will likely work acceptably for most projects. (Ultra high volume
sites with extreme scalability needs are excluded from this statement.)
If you are dealing with more records than that, then you'll need to analyze
your available server power, infrastructure and performance needs to see if
the standard datagrid will still work for you or not.

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://Steve.Orr.net
"Steven K" <sk****@troop.com> wrote in message
news:ub****************@TK2MSFTNGP10.phx.gbl...
Hello,

I am converting an ASP page to ASP.Net. In one page, I am using record
paging. I have read that while the DataGrid control has paging, it can tax resources. So I did a Google and found and example of using the Repeater
control (http://aspnet.4guysfromrolla.com/art...091003-1.aspx). My
question is at approximately how many records does it make sense to not use the DataGrid control, or should I always use something like the example
website that I provided? I'm just trying to get a feel for what other users have experienced.

--
Thanks in advance,

Steven

Nov 18 '05 #2
You can implement custom paging with your data grid control fairly easily.

The strategy I employ is to select the rows from the database into a table
variable that has an auto-increment integer as an extra column.

The sproc that's doing this takes in the page number and page size and then
figures out from what range of records to select from the table variable.

This approach is probably your best bet aside from adding an auto-increment
column to all tables that will be paged when returned.

RMD
"Steven K" <sk****@troop.com> wrote in message
news:ub****************@TK2MSFTNGP10.phx.gbl...
Hello,

I am converting an ASP page to ASP.Net. In one page, I am using record
paging. I have read that while the DataGrid control has paging, it can tax resources. So I did a Google and found and example of using the Repeater
control (http://aspnet.4guysfromrolla.com/art...091003-1.aspx). My
question is at approximately how many records does it make sense to not use the DataGrid control, or should I always use something like the example
website that I provided? I'm just trying to get a feel for what other users have experienced.

--
Thanks in advance,

Steven

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: monki | last post by:
i am trying to expand the functionality of a page that is running on a paging script. i have tried several methods but cant get the results i want is there an index to a record set that has...
2
by: Hrvoje Vrbanc | last post by:
Hello all! I have quite an strange question: I'm using DataGrid to display the results of a query stored in a DataSet. I use data binding with DataBinder.Eval statement (like e.g. <%#...
1
by: Hai Nguyen | last post by:
Hi all I have a datagrid tied up to sql server. Also I have a very large record need to page during runtime. I have looked up solutions to find out how to increase the performance of my...
2
by: asad | last post by:
Hello friends, i am designing a ASP.NET page where i want to use custom paging bcoz data is too heavy so pls tell me how can i use custom paging in ASP.NET Thanks
1
by: asad | last post by:
Hello, i'm working on a greeting card website, there is a page where i'm showing greeting cards, i have done paging on this page with using Datalist and its working well but i have a problem is...
0
by: Edwin Knoppert | last post by:
I just tried the gridview's NEW linkbutton but nothing happens. Alternativly i made use of a separate detailsview on the same webpage and managed me to add a record fine. However, if i make use of...
4
by: zfarooq01 | last post by:
Asp Javascript language paging larger database record sets i am firmiliar with asp javascript and not asp VB. i can display the results ok, but if i return 100 records from my table i would...
9
by: =?Utf-8?B?UHJhdmlu?= | last post by:
We are using .net Framework 1.1 We are having one page on which we are using this Grid component. From this page we open a popup for adding new record as well as for editing an existing record...
2
by: rn5a | last post by:
In a shopping cart app, a ASPX page retrieves the order details & personal details of a user from a MS-Access database table depending upon the username of the user. The order details of a...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.