View Single Post
  #1 (permalink)  
Old October 1st, 2004, 02:09 PM
bekim bekim is offline
Friend of Wrox
Join Date: Jun 2004
Location: Alhambra, ca, USA.
Posts: 245
Thanks: 0
Thanked 0 Times in 0 Posts
Default DataList <a Href> Question in Roles.aspx

The code for Roles.aspx works fine but I can't view the code in Design view cuz I get an error: "Could Not open in Design View. Quote value differently inside a'<%..."value"...%>'block"
  How do I correct this error?

Code that works:
<asp:DataList id="RoleList" runat="server">
<a href="EditRole.aspx?RoleID=<%# DataBinder.Eval(Container.DataItem, "RoleID") %>"><%# DataBinder.Eval(Container.DataItem, "Description") %></a><br/>

Can someone correct this code so I can see it in Design View. Thanks