The most used way to display data in tabular format from a database in WebMatrix is the WebGrid helper.
It offers a wide variety of options for sorting and paging the rows displayed and supports asynchronously updating the grid content using AJAX.
For a complete class reference look at
WebGrid Class[
^].
Maybe, the best place for in-depth WebGrid tutorials is the
Mike Brind's site[
^].
Start with
Looking At The WebMatrix WebGrid[
^] and then search for more advanced articles.