Código:
<tr>
<%
if consulta a la bd= true then
Response.Write "<td>algo</td>"
else
Response.Write "<td></td>"
End if
%>
</tr>
Ya entendí... ahí tenés todo el HTML afectado por el if dentro de tags ASP