Link to home
Start Free TrialLog in
Avatar of Ruzbuk
Ruzbuk

asked on

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.
ASKER CERTIFIED SOLUTION
Avatar of Nirmalan Nagenthiran
Nirmalan Nagenthiran
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial