CSP:Object Tag HTML
Let's look at the HTML we just added to our page.
As you would expect, the <csp:object> tag has three attributes: name, classname, and objid. Note that the value for objid is surrounded by #( ... )# because this is an expression.
—ShowTimes.csp—
ShowTimes.csp
<html> <body>
<csp:class encoded=1>
<csp:query
name="Times"
classname="Cinema.Show"
queryname="ShowTimes"
P1='#($Get(%request.Data("FilmID",1)))#'>
<csp:object
name="Film"
classname="Cinema.Film"
objid='#($Get(%request.Data("FilmID",1)))#'>
<table cellpadding=5>
<tr>
<td><b>Time</b></td>
<td><b>Theater</b></td>
</tr>
<csp:while condition="Times.Next()">
<tr>
<td>#(Times.Get("StartTime"))#</td>
<td>#(Times.Get("TheaterName"))#</td>
</tr>
</csp:while>
</table>
</body> </html>