Hi All,
I'm working on a web app in ASP.net with VB.Net on Visual Studio 2010 (.Net Framework 4).
I'm trying to use a datarepeater class to display results from a query on the web page so I coded away exactly as I used to in Visual Studio 2008. However, I am getting syntax error messages where I am trying to display the data values:
<table>
<asp:Repeater ID="repeater1" runat="server">
<HeaderTemplate>
<tr>
</HeaderTemplate>
<ItemTemplate>
<td><%# Eval("Item1")%></td>
</ItemTemplate>
<FooterTemplate>
</tr>
</FooterTemplate>
</asp:Repeater>
</table>
I'm getting the syntax error at the following: <%# Eval("Item1")%>
The Error I get is: Expression expected