K
kelvinweb
Hi All,
My Source Code is the following
<ItemTemplate>
<tr>
<td width="100" align="right"><font size="2" face="Verdana, Arial,
Helvetica, sans-serif"> </font></td>
<%IF #Container.DataItem("LINE53")<>2 THEN%>
<td width="300" colspan="3"><font size="2" face="Verdana, Arial,
Helvetica,
sans-serif"><b>Line <%#Container.DataItem("LINE53")%></b></font></td>
<%END IF%>
</tr>
</ItemTemplate>
I got the error:
Compiler Error Message: BC30201: Expression expected.
Not uses '#'
Compiler Error Message: BC30451: Name 'Container' is not declared.
Please Help.
My Source Code is the following
<ItemTemplate>
<tr>
<td width="100" align="right"><font size="2" face="Verdana, Arial,
Helvetica, sans-serif"> </font></td>
<%IF #Container.DataItem("LINE53")<>2 THEN%>
<td width="300" colspan="3"><font size="2" face="Verdana, Arial,
Helvetica,
sans-serif"><b>Line <%#Container.DataItem("LINE53")%></b></font></td>
<%END IF%>
</tr>
</ItemTemplate>
I got the error:
Compiler Error Message: BC30201: Expression expected.
Not uses '#'
Compiler Error Message: BC30451: Name 'Container' is not declared.
Please Help.