Microsoft
Software
Hardware
Network
Question : Count files in folder
I have a web site and I need some code for the aspx.vb page that counts the number of files in the "~/Images/" folder.
Answer : Count files in folder
Try...
Dim i As Integer = Directory.GetFiles(Server.
MapPath("~
/images/")
).Length
myLabel.Text = "There are " & i.ToString & " files in the directory"
Random Solutions
Insert single column into table using select statement
Domain Password policy did not apply on workstation
SQL syntax for MySql query
Hijacked
too few parameters. expected 2
Unexpected error 32811
How to get first sunday for every month for one year
sharepoint search does not return results
MS Access - Move focus from one form to another form with VBA and enable controls
Error importing .reg file