Ver Mensaje Individual
  #1 (permalink)  
Antiguo 29/03/2005, 09:45
Avatar de juantux
juantux
 
Fecha de Ingreso: marzo-2005
Mensajes: 59
Antigüedad: 20 años, 1 mes
Puntos: 1
Crear filas en forma dinamica

La idea es que la tabla HTML vaya creciendo, algo he intentado pero sin mucha suerte, aca les dejo algo para ver si pueden ayudarme...

<table width="64%" border="1" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="9%"><div align="center"><strong>Item</strong></div></td>
<td width="31%"><div align="center"><strong>Programa</strong></div></td>
<td width="32%"><div align="center"><strong>Hardware</strong></div></td>
<td width="10%">&nbsp;</td>
</tr>
<%
if request.QueryString("cmd")="nuevo" then
session("conta")=session("conta")+1
response.Write("<tr>")
response.Write("<td>"&session("conta")&"</td>")
response.write("<td><select name=cbo_prog"&session("conta")&"></select></td>")
response.Write("<td><select name=cbo_hard"&session("conta")&"></select></td>")
response.Write("<td><div align='center'><a href='deta_equipos.asp?cmd=nuevo'>Nuevo</a></div></td>")
response.Write("</tr>")
end if
%>
</table>

Gracias...