A
AAaron123
The following code gives two
Identifier expected
errors. I've indicated the spots with comments enclosed within ||
If I comment out the anchor element that contains the second error I get no errors.
Very confusing!
I would have like to removed some lines to make it easier to look at but was afraid I'd remove something significant.
Thanks in advance for any help
asp:content id="Content1" contentplaceholderid="RightCPH" runat="server">
<asp:CheckBox ID="CheckBox2" runat="server" />
<asp:formview id="FormView1" runat="server" datasourceid="ObjectDataSource1"
borderstyle="none" borderwidth="0" CellPadding="0" cellspacing="0" EnableViewState="false">
<itemtemplate>
<p><%# Server.HtmlEncode(Eval("Caption").ToString()) %>||THE NEXT ANGLE CHARACTER||</p>
<img src="../Albums/Handler.ashx?PhotoID=<%# Eval("PhotoID") %>&Size=L" style="border:4px solid white" alt='Photo Number <%# Eval("PhotoID") %>' /></a>
<br /><br /><br /><br />
</itemtemplate>
</asp:formview>
<p>
||THIS LINE NO COLUMN WAS GIVEN||<a href='../Albums/ActualSize.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container. %>'>
Click to See Actual Size Photo</a>
</p>
<asp:ObjectDataSource ID="ObjectDataSource1" Runat="server" TypeName="PhotoManager"
SelectMethod="GetPhotos">
<SelectParameters>
<asp:QueryStringParameter Name="AlbumID" Type="Int32" QueryStringField="AlbumID" DefaultValue="0"/>
</SelectParameters>
</asp:ObjectDataSource>
<input type="button" value="Return to Albums" onclick="window.location='Albums.aspx';" />
</asp:content>
Identifier expected
errors. I've indicated the spots with comments enclosed within ||
If I comment out the anchor element that contains the second error I get no errors.
Very confusing!
I would have like to removed some lines to make it easier to look at but was afraid I'd remove something significant.
Thanks in advance for any help
asp:content id="Content1" contentplaceholderid="RightCPH" runat="server">
<asp:CheckBox ID="CheckBox2" runat="server" />
<asp:formview id="FormView1" runat="server" datasourceid="ObjectDataSource1"
borderstyle="none" borderwidth="0" CellPadding="0" cellspacing="0" EnableViewState="false">
<itemtemplate>
<p><%# Server.HtmlEncode(Eval("Caption").ToString()) %>||THE NEXT ANGLE CHARACTER||</p>
<img src="../Albums/Handler.ashx?PhotoID=<%# Eval("PhotoID") %>&Size=L" style="border:4px solid white" alt='Photo Number <%# Eval("PhotoID") %>' /></a>
<br /><br /><br /><br />
</itemtemplate>
</asp:formview>
<p>
||THIS LINE NO COLUMN WAS GIVEN||<a href='../Albums/ActualSize.aspx?AlbumID=<%# Eval("AlbumID") %>&Page=<%# Container. %>'>
Click to See Actual Size Photo</a>
</p>
<asp:ObjectDataSource ID="ObjectDataSource1" Runat="server" TypeName="PhotoManager"
SelectMethod="GetPhotos">
<SelectParameters>
<asp:QueryStringParameter Name="AlbumID" Type="Int32" QueryStringField="AlbumID" DefaultValue="0"/>
</SelectParameters>
</asp:ObjectDataSource>
<input type="button" value="Return to Albums" onclick="window.location='Albums.aspx';" />
</asp:content>