Home All Groups Group Topic Archive Search About

Paging in DataGrid does not work 2..

Author
7 Nov 2006 3:45 AM
princessjewel62
Hi,

Im having a problem with the paging in datagrid. AllowPaging is set to
True and i have set the Pagesize to 20 rows. The results should have
been more than 10 rows but the web form only shows only up to 10 rows.
On the other form, it works just fine, it shows more than 10 rows and
even the pages and I had check and compare both forms. Both have the
same codings but yet the first form fails. I am a newbie to web
development, bear with me. I need help. Thanks.

Author
9 Nov 2006 11:54 PM
Alvin Bruney [MVP]
write a the value of the datagrid to a text box on the page just before you
bind. That will determine how much data there is.

--
________________________
Warm regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
Professional VSTO.NET - Wrox/Wiley
The O.W.C. Black Book with .NET
www.lulu.com/owc, Amazon
Blog: http://www.msmvps.com/blogs/alvin
-------------------------------------------------------


<princessjewe***@gmail.com> wrote in message
Show quoteHide quote
news:1162871123.351491.128240@i42g2000cwa.googlegroups.com...
> Hi,
>
> Im having a problem with the paging in datagrid. AllowPaging is set to
> True and i have set the Pagesize to 20 rows. The results should have
> been more than 10 rows but the web form only shows only up to 10 rows.
> On the other form, it works just fine, it shows more than 10 rows and
> even the pages and I had check and compare both forms. Both have the
> same codings but yet the first form fails. I am a newbie to web
> development, bear with me. I need help. Thanks.
>