Solved

GridView

Posted on 2009-05-14
7
318 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now