%@ Control Language="C#" %> <%@ Import Namespace="System.Collections" %> <%@ Import Namespace="System.IO" %> <%@ Import Namespace="System.Text" %> <% ArrayList dirs = new ArrayList (); ArrayList files = new ArrayList (); string physPath = Path.GetDirectoryName (Request.PhysicalPath); DirectoryInfo dir = new DirectoryInfo (physPath); foreach (string d in Directory.GetDirectories (physPath)) dirs.Add (d); foreach (string f in Directory.GetFiles (physPath)) { if (f == "index.aspx" || f == "default.aspx") continue; files.Add (f); } StringBuilder sb = new StringBuilder ("