[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

GridView

Posted on 2009-05-14
7
Medium Priority
?
326 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

650 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