Using ASP.Net and displaying it in a gridview would look like: Sub Page_Load(sender as Object, e as EventArgs) Handles Me.Load If Not Page.IsPostBack then Dim dirInfo as New DirectoryInfo(Server.MapPath("")) Gridview1.DataSource = dirInfo.GetFiles("*") Gridview1.DataBind() End If End Sub