i have an asp.net website where i do paging through on the code behind using:
PagedDataSource objPds = new PagedDataSource
{
DataSource = ds.Tables[0].DefaultView,
AllowPaging = true,
PageSize = 12
};
what is the equivalent best way of doing paging for asp.net-mvc. I would think this would actually belong in the view code.