Feb 21, 2003 #1 T tehon3299 Well-known member Joined Jan 6, 2003 Messages 155 Location Liverpool, NY Can you please tell me how I would be able to read the whole contents of a folder of pictures and output a list of the files on an aspx page?
Can you please tell me how I would be able to read the whole contents of a folder of pictures and output a list of the files on an aspx page?
Feb 21, 2003 #2 Derek Stone Exalted One Joined Nov 17, 2002 Messages 1,878 Location Rhode Island User Rank *Expert* Code: Dim sFiles() As String = System.IO.Directory.GetFiles("C:\") You can also specify a search pattern like so: Code: Dim sFiles() As String = System.IO.Directory.GetFiles("C:\", "*.bmp")
Code: Dim sFiles() As String = System.IO.Directory.GetFiles("C:\") You can also specify a search pattern like so: Code: Dim sFiles() As String = System.IO.Directory.GetFiles("C:\", "*.bmp")