Data binding in CSHTML with pagingHello.
I have one requirement in MVC5.
I want to bind the data in table format.
First of all, suggest the best way to bind it like, use table, grid view or anything else.
I want 2 buttons below the table, Next and Previous.
By default always bind 10 records and on click on Next and Previous, data will refresh.
It means that, it requires database side paging.
Please give me sample if anyone have the same.