I have a GridView on my screen and need it to allow paging.
Markup:
I've changed my code to this:
public List ListofNewsTitle() { var query = from n in db.NewsEvents orderby n.NewsDate descending select n.NewsTitle; return query.ToList(); }