Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Please help me in a task
September 07, 2008
Hi to every body
I have one task plz let me know the solution for that.
I have more than 10000 records in my database table.
In a web page i have to display the records in the datagrid/gridview.
I have enabled allowpaging, pagesize=25.
the issue is when ever the user clicks on next Page link in pager control,the user has to get the next 25 records that too with in the 3 seconds(this is the company standard).
How can i achieve this task.
plz help me any one.....................
providing code helps me a lot.
Posted Date: September 07, 2008 Points: 5
Use custom pagination means you pass the the current page no and add by 25 to get nect 25. for coding refer this link and other details
Mark As Answer
" if this post help you.
Posted Date: September 08, 2008 Points: 5
u can use as below may help u...
with other required properties...
and use sqldatasource
<asp:SqlDataSource ID="SqlDataSourceGrdView" runat="server" ConnectionString="<%$ ConnectionStrings:anyConnectionString %>"
SelectCommand="sp_GetDataAll" SelectCommandType="StoredProcedure" > </asp:SqlDataSource>
and in code behind....use
protected void GrdView_PageIndexChanging(object sender, GridViewPageEventArgs e)
GrdView.PageIndex = e.NewPageIndex;
Posted Date: November 23, 2009 Points: 5
plz go through this following link
D:\dotnetInterviewPreparation\CustomPagingofGrid\ASP_NET_4GuysFromRolla_com Custom Paging in ASP_NET 2_0 with SQL Server 2005.htm
To post reply
Related Questions Related Questions
help me in task
Can anybody give idea on how to run a task everyday 4pm in ASP.NET application?
How to create a windows scheduled task from asp.net?
Workflow fails in "complete task" activity on another machine.
Task scheduler ASP.NET
Task management system in vb.net
How to minimize,maximize,restore and close a form from task bar?
Show context menu in Windows task bar
Task Schedular in C#
how to use windows task schedular in C#
Latest Forum Questions From The Same Category
How do i get payment status in redirect page using bitpay?
Login with Facebook and Save details in database
Login with facebook account in my website
How to make a nested datalist control?
What class does Icon derive from?
What are the validation controls?
What''s the difference between an interface and abstract class?
How to read Unicode form PDF File and Save into DataBase ?
How to identify the color format of eps/tiff using c#?
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend