> Line 51 - 57
> <%
> IF LEN(ColumnCheck) = 0 THEN
> Response.Write ("<TD style='WIDTH: 50%;'>")
> ELSE
> Response.Write("<TD>")
> END IF
> %>
Don't think you can inject code like that in asp.net the way you could in
asp. You need to place a server control there and on the page load event
have your code update the content. Something like
<asp:Literal ID="MyTD" runat="server"/>
Then in the Page_onLoad event;
If len(ColumnCheck) = 0 then
MyTD.Text = "<TD style='WIDTH: 50%;'>"
Else
MyTD.Text = "<td>"
End if
Something like that anyway, unless someone can think of something better.
The contents of this email and any attachments are sent for the personal
attention
of the addressee(s) only and may be confidential. If you are not the intended
addressee, any use, disclosure or copying of this email and any attachments is
unauthorised - please notify the sender by return and delete the message. Any
representations or commitments expressed in this email are subject to contract.
ntl Group Limited
---------------------------------------------------------------------
Home : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
Post : [email protected]
Subscribe : [EMAIL PROTECTED]
Unsubscribe: [EMAIL PROTECTED]
---------------------------------------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/active-server-pages/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/