| | |
Gridview Paging Problem.
Please support our C# advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
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 appportability array bitmap box broadcast c# capturing check checkbox client combobox control conversion csharp customactions database databasesearch datagrid datagridview dataset datetime dbconnection degrees delegate design development disappear draganddrop drawing encryption enum eventhandlers excel file firefox form format forms function gdi+ image input install interface java libraries list mailmerge math monodevelop mouseclick movingimage msword mysql operator path pause photoshop picturebox pixelinversion pixels post programming radians regex remoting resolved. richtextbox rotation server sleep socket sockets sql statistics string system.servicemodel table tcpclientchannel text textbox thread time timer transparency treeview update usercontrol validation virtualization visualbasic visualstudio webbrowser winforms wpf xml





