Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4962
  • Last Modified:

Limit Number of rows in GridView

Hi
i am trying to set the number of rows that are displayed in my Gridview e.g. Say i have a 100 rows in my database i only what the last 20 added rows to be shown.
i have tryed adding <asp:GridView....... PageSize ="20"> which has had no affect.

Useing visual studeo 2008 with sql express server 2005
I would be grateful for any help in this matter thanks.
0
Ruzbuk
Asked:
Ruzbuk
1 Solution
 
Nirmalan NagenthiranCommented:
Check the solution in the link

http://forums.asp.net/p/1125655/1769715.aspx
0

Featured Post

Technology Partners: 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!

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