<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Foto.aspx.vb" %> <%@ Import Namespace="System.Io" %>

FOTO <% Dim i = 0 Dim directory As New DirectoryInfo(Server.MapPath("") & "/Foto") Dim directories As DirectoryInfo() = directory.GetDirectories() Dim folder For Each folder In directories i = i + 1 If (i Mod 2) <> 0 Then %><% Else %><% End If Next %>

<%=folder.ToString %>


<%=folder.ToString %>