Skip to main content


Here is the updated code for TopPicks.csp. Note the <csp:query> tag.

<h2><font color="#0000FF">Today's Top Picks</font></h2>
<table border=0>
<csp:query name="FilmList" classname="Cinema.Film" queryname="TopFilms">
        <td> </td>
        <td> </td>
</body> </html>

This tutorial assumes that you are already familiar with HTML. If not, we have included a quick introduction.

Throughout this tutorial, the HTML we display has been streamlined by leaving out some formatting tags and attributes so that it is easier to focus on the essence of CSP. The complete HTML can be viewed in the .csp solution files for the Cinema application contained in the SAMPLES namespace.

FeedbackOpens in a new tab