locked
my index page is not displaying all my records in database RRS feed

  • Question

  • User1527485495 posted

    Greeting all, please i'm working on a HR application ,my database has over  a 1000 records in it ,and but when i tried  calling the page on my MVC index  i found out that the page is not displaying the 1000 records in it , i can only see 354 records in displaying. Its there a way i can make the 1000 record to this. Thanks in anticipation for your reply.

    Friday, November 30, 2018 5:01 PM

All replies

  • User475983607 posted

    Greeting all, please i'm working on a HR application ,my database has over  a 1000 records in it ,and but when i tried  calling the page on my MVC index  i found out that the page is not displaying the 1000 records in it , i can only see 354 records in displaying. Its there a way i can make the 1000 record to this. Thanks in anticipation for your reply.

    It's hard to provide assistance without the source code.  Is there anyway you can post the source code and table schema?

    Friday, November 30, 2018 5:09 PM
  • User1520731567 posted

    Hi Dreal1,

    Is there some where clause that filters your data(1000 records)?

    I suggest that you could add some breakpoints on your code,

    check the variable of result:

    For example:

            public ActionResult Index()
            {
                var list=....
    
                return View(list); //check if list.Count is 354? If so,Check if a filter statement exists. 
    //If not,the reason is in View

    }

    If you have any questions,please post more details.

    Best Regards.

    Yuki Tao

    Monday, December 3, 2018 7:53 AM