lovelyhelp 0 Newbie Poster

i found an compilation errors with the code as below. I am using asp.net framework 2.0:
'DataItem' is not a member of 'System.Web.UI.Page'
How to proceed?
-----------------------------------------------------------------

<asp:repeater ID="rptLinks1" runat="Server">

<ItemTemplate>
<table>
<tr>
<td><%# container.DataItem("tutorial_chapter") %></td>
</tr>
<tr>
<td><asp:HyperLink ID="HyperLink4" runat="server" Text='<%# container.DataItem("tutorial_subject") %>' NavigateUrl='<%# container.DataItem("tutorial_hyperlink") %>'></asp:HyperLink></td>
</tr>
</table>

</itemtemplate>
</asp:repeater>

</td>
<td style="width: 293px"><asp:Label runat="server" Text='<%# Container.DataItem("tut_text") %>' ID="lblTextDesc" Height="271px" Width="278px" /></td>
<td><asp:Image ID="imgSwf" runat="server" Height="273px" ImageAlign="Right" ImageUrl='<%#Container.DataItem("tut_image")%>' Width="214px" /></td>
Edit/Delete Message

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.