| | |
Gridview Paging Problem.
Please support our C# advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: May 2006
Posts: 4
Reputation:
Solved Threads: 0
I need some help regarding Paging on a Gridview.
I have a few dropdownlists and textbox and a gridview. At first load, the gridview will be populated with data from the sql server. And, I did a search and it works for the first page. When I press the second page, it will be populated back to the database data which it should not be.
Is there anyway to retain my search results when I press subsequence page?
Thanks.
I have a few dropdownlists and textbox and a gridview. At first load, the gridview will be populated with data from the sql server. And, I did a search and it works for the first page. When I press the second page, it will be populated back to the database data which it should not be.
Is there anyway to retain my search results when I press subsequence page?
Thanks.
try storing it in your context.session.
ive always prefered to just hit the database again for each page.
just grab only enough each query to fill one page.
EDIT: sorry i just realized, that you may not be talking about asp.net oops.
in that case, fill a dataset up with the data you need, and pull data from that
ive always prefered to just hit the database again for each page.
just grab only enough each query to fill one page.
EDIT: sorry i just realized, that you may not be talking about asp.net oops.
in that case, fill a dataset up with the data you need, and pull data from that
Last edited by plazmo; Oct 3rd, 2006 at 5:32 pm.
![]() |
Similar Threads
- GridView Insert Problem (ASP.NET)
- set a dynamic page size for gridview? (ASP.NET)
- paging problem (ASP)
- Convert XML data to sql table through coding in ASP.Net2.0 (IT Professionals' Lounge)
- Problem Updating Row in GridView (ASP.NET)
- "ADODB Recordset error" (ASP)
Other Threads in the C# Forum
- Previous Thread: shutdown.exe (Question)
- Next Thread: Get image from resources
| Thread Tools | Search this Thread |
.net access algorithm angle array asp.net barchart bitmap box broadcast c# capturing check checkbox client combobox control conversion csharp custom database datagrid datagridview dataset datetime dbconnection degrees delegate design development disappear draganddrop drawing encryption enum eventhandlers excel file firefox form format forms function gdi+ image index input install java label leak libraries list listbox loop mandelbrot math monodevelop mouseclick msword mysql operator path pause photoshop picturebox pixelinversion post programming radians regex remoting resourcefile richtextbox round server sleep socket sql statistics stream string table tcpclientchannel text textbox thread time timer update usercontrol validation virtualization visualbasic visualstudio webbrowser windows winforms wpf xml





