
19/10/2009, 01:54
|
| | Fecha de Ingreso: enero-2008 Ubicación: Málaga - España
Mensajes: 346
Antigüedad: 17 años, 3 meses Puntos: 13 | |
Respuesta: Como mostrar en tablas el contenido de una carpeta Creo que tendrás que hacer algo así:
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<%
Set MyDirectory=Server.CreateObject("Scripting.FileSys temObject")
Set MyFiles=MyDirectory.GetFolder(Server.MapPath("publ ic/infografia/"& imagenesinfo &"" ))
%>
<tr>
<%
For each filefound in MyFiles.files
%>
<td> <% =filefound.Name %></td>
<%
Next
%>
</tr>
</table>
El problema lo tendrás si tienes muchos ficheros, debarías "paginarlos" por cantidad de ficheros que quieres que te salgan en cada fila. |