.aspx file:
<%@ Import Namespace=\"System.IO\" %>
Response.Write in a static codebehind method: DIRTY! In addition you did't control the position where you write. This a little bit cleaner...
// YourPage.aspx
<%@ Import Namespace="System.IO" %>
<% foreach(var file in Directory.GetFiles("C:\\Temp", "*.*", SearchOption.AllDirectories)) { %>
- <%= file %>
<% } %>