Hi, i have a question about linq. I'm using Skip and Take to do paging:
(from l in db.ProductList
select l).Skip((page - 1) * row_per_page).Take(row_per_page)
It work, and i need retrieve total rows of product list to calculate max page. I think i must use another query to count rows but have another way to do this in one query above?