locked
Gridview Problem in ASP.NET2.0 RRS feed

  • Question

  • i am retrieving data in Gridview....
    there no of 10 records will display at a time...
    but after loading my grid view is display only 9 rows...
    why this is happened??? please suggest me

    thanks
    Yatin Patel
    Saturday, March 7, 2009 7:30 PM

Answers

  • Hello Yatin,

    In default, the PageSize property of GridView control is set to 10. But if there are only 9 records in the data source, it will then display only those 9 records.

    Please check your data source and see if there are more records than 10.

    Also, please note that we discuss issues related to Visual Studio Debugger in our forum, you may get more valuable resolutions in the ASP.NET forum.

    Thanks in advance!
    Best regards,
    Roahn
    • Proposed as answer by liurong luo Monday, March 9, 2009 9:12 AM
    • Marked as answer by liurong luo Friday, March 13, 2009 6:14 AM
    Monday, March 9, 2009 9:12 AM