• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 329
  • Last Modified:

GridView

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
Romacali
Asked:
Romacali
  • 3
  • 3
1 Solution
 
dorothy2Commented:
Is your question about how to implement paging in a gridview?
0
 
urir10Commented:
You will need to pass it a datasource with only the records that match the search
0
 
RomacaliAuthor Commented:
how can I add a data source there?
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
urir10Commented:
How are you populating the data in the gridview?
0
 
RomacaliAuthor Commented:
I have a procedure search that is called when I click search and it display on the gridview
0
 
urir10Commented:
i dont really understand what you trying to do then. Are you asking how to enable paging ?
0
 
RomacaliAuthor Commented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now