RelationDocuments/CurrentDoc.aspx
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<h3>
查询当前文档的关联文档</h3>
当前文档:<%= CurrentDocument.Subject %>
<pz:RelationDocuments runat="server" RelationPath="/sample/comment/">
<HeaderTemplate>
<table border="1" width="200">
</HeaderTemplate>
<ItemTemplate>
<tr>
<td>
<%# Eval("Subject")%>
</td>
</tr>
</ItemTemplate>
<AlternatingItemTemplate>
<tr>
<td bgcolor="#efefef">
<%# Eval("Subject")%>
</td>
</tr>
</AlternatingItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>
</pz:RelationDocuments>
</form>
</body>
</html>