Ver Mensaje Individual
  #3 (permalink)  
Antiguo 14/03/2007, 07:11
Avatar de Adler
Adler
Colaborador
 
Fecha de Ingreso: diciembre-2006
Mensajes: 4.671
Antigüedad: 18 años, 3 meses
Puntos: 126
Re: al intentar pasar la variable me da error

Prueba así

Código:
<%
strText=rs.fields("Contenido")
CuantosCaracteres = Len(strText)
if CuantosCaracteres > 110 then
strText = left(strText,100) & "... "
%>

<span class="txt_granate">[</span><a href="http://www.dominio.com/PRUEBA/es/noticias.asp" class="txt_granate" title="Leer la noticia entera">leer+</a><span class="txt_granate">]</span>

<%
end if
%>
Suerte