Solved

GridView

Posted on 2009-05-14
7
320 Views
Last Modified: 2013-12-17
Hello there,

I have a gridview on my page that display the search results.. How can I have the grid to display all the time10 records? then when I search I can see only the ones that matches the search?
0
Comment
Question by:Romacali
  • 3
  • 3
7 Comments
 
LVL 6

Expert Comment

by:dorothy2
ID: 24387217
Is your question about how to implement paging in a gridview?
0
 
LVL 7

Accepted Solution

by:
urir10 earned 500 total points
ID: 24387343
You will need to pass it a datasource with only the records that match the search
0
 

Author Comment

by:Romacali
ID: 24387458
how can I add a data source there?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 7

Expert Comment

by:urir10
ID: 24387591
How are you populating the data in the gridview?
0
 

Author Comment

by:Romacali
ID: 24387600
I have a procedure search that is called when I click search and it display on the gridview
0
 
LVL 7

Expert Comment

by:urir10
ID: 24387611
i dont really understand what you trying to do then. Are you asking how to enable paging ?
0
 

Author Comment

by:Romacali
ID: 24387771
I want to have all the records users there.. then when I want to search then it should show me the record or 1 row..
I want the grid to be always there with all the records it just shows up if I click search

the problem so far when I run my procedure I see 10 records and on the grid just 1
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question