L
Luis
Which of the following two methods is the better method for creating a
table after doing some server side processing:
<%
if someCondition then
'do some server side stuff
Response.Write("<table><tr><td>table
content</td></tr></table>")
'do some more server side stuff
end if
%>
or
<%
if someCondition then
'do some server side stuff
%>
<table>
<tr>
<td>table content</td>
</tr>
</table>
<%
'do some more server side stuff
end if
%>
Does one have an adantage/disadvantage over the other?
table after doing some server side processing:
<%
if someCondition then
'do some server side stuff
Response.Write("<table><tr><td>table
content</td></tr></table>")
'do some more server side stuff
end if
%>
or
<%
if someCondition then
'do some server side stuff
%>
<table>
<tr>
<td>table content</td>
</tr>
</table>
<%
'do some more server side stuff
end if
%>
Does one have an adantage/disadvantage over the other?