Torna al Thread

Imports System.IO Dim path As String="~/docs/" Dim Dir As New DirectoryInfo(Server.MapPath(path)) 'lista files Dim percorso_file As String = "" For Each localFile As FileInfo In Dir.GetFiles() 'all'interno del for each ricavi le info per tutti i ifle presenti nella cartella, es: localFile.Name oppure localFile.Extension Next
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5