J
John Banks
I have an asp.net project that I have migrated to VS 2005. The product
had zero errors in vs2003 and for the most part functions properly in
2005 except for one complicated page where I am receiving an Expression
Expected error on some very simplistic code. Please forgive the fact
that the code did not format properly below: I get the error on the
<% If statement line. There is no Line continuation here.
<TD style="HEIGHT: 23px" colSpan="3">
<% If CurrentBICP.Id =OD OrElse (CurrentBICP.Suspended And
CurrentBICP.CurrentVersionNo = 1) OrElse
DataBinder.Eval(CurrentBICP.Type, TypeQuote) Then%>
<asp:CheckBox id="cbxPropertyAfforded" runat="server"
Checked="True" />
<% Else %>
<% If YesNo2Bool(CurrentBICP.PropertyAfforded) Then %>
<img src="<%#= cCheckBoxCheckedImage %>"/>
<% Else %>
<img src="<%#= cCheckBoxUncheckedImage %>"/>
<% End If %>
<% End If %>
</TD>
Does anyone have any ideas?
had zero errors in vs2003 and for the most part functions properly in
2005 except for one complicated page where I am receiving an Expression
Expected error on some very simplistic code. Please forgive the fact
that the code did not format properly below: I get the error on the
<% If statement line. There is no Line continuation here.
<TD style="HEIGHT: 23px" colSpan="3">
<% If CurrentBICP.Id =OD OrElse (CurrentBICP.Suspended And
CurrentBICP.CurrentVersionNo = 1) OrElse
DataBinder.Eval(CurrentBICP.Type, TypeQuote) Then%>
<asp:CheckBox id="cbxPropertyAfforded" runat="server"
Checked="True" />
<% Else %>
<% If YesNo2Bool(CurrentBICP.PropertyAfforded) Then %>
<img src="<%#= cCheckBoxCheckedImage %>"/>
<% Else %>
<img src="<%#= cCheckBoxUncheckedImage %>"/>
<% End If %>
<% End If %>
</TD>
Does anyone have any ideas?