that action
localhost:39217/SomeAction/
returns the whole list from the DB
If I proceed using the URL
localhost:39217/SomeAction/#someId?p=2
I want to return only the 2nd page from the DB. But I still get the whole list. Why ?
Here's my Action:
public ActionResult SomeAction(int p = 1) //the `p` is always 1, even if I pass that 2nd URL
{
...
}
...with your actual code for us to be able to help you....I just filter theSelectquery based on thepnumberpin order for us to help you. Why don't you show us that code?Selectquery based on thepnumber".