Solved

GridView

Posted on 2009-05-14
7
322 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 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IDE for Python 5 73
Coding for the first time 9 70
linq .concat equivalent with expression syntax 4 26
Calculating percentage 2 31
Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…

726 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