Hello
I tried to use:
<asp:DataList id="RoleList" runat="server">
<ItemTemplate>
<a href="EditRole.aspx?RoleID=<%# DataBinder.Eval(Container.DataItem, "RoleID") %>"><%# DataBinder.Eval(Container.DataItem, "Description") %></a><br/>
</ItemTemplate>
</asp:DataList>
The code runs but I can't view this in DESIGN VIEW. I get error:
"Could Not open in Design View. Quote value differently inside a'<%..."value"...%>'block"
I got this code from Wrox book it works but why can't I open Design View. Can someone correct this code so I can see it in Design View.
Thanks you.