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
SQL query using the Count function in Access
Visual SourceSafe & Access
Windows 7 TPM issue
Active X problem with Windows 2000 TS and IE 6 SP1
CRM 4.0 Set regarding to more than one record / entity
Changing Primary SMTP Address
I want to be able to Print & Close my report by pressing enter
Getting gridview column value in button click
Different SQL datetime fomats between machines cases problems when searching using c#
Combo Box problem with access the selected item