List directory contents

  • Thread starter Thread starter ats@jbex
  • Start date Start date
A

ats@jbex

Hope this is the correct group. I am looking to place a set of constantly
changing excel files in a directory on my web server. I want to display
these as a list of clickable links on a page. Are there any controls or
simple code out there to do this?

TIA

--
ats@jbex

I'm not gonna be taken in
They said if I don't join I just can't win
I've heard that story many times before
And every time I threw it out the door

SLF - Wasted Life
 
Not sure whether you mean links on a web page, but the code to get the files
is simple.

First you have to reference System.IO which holds the classes you will need.
In the Directory class are methods to get file names using wildcards. Then
use this list to populate the links.

If there are also folders you will have to make the code reentrant.

Lloyd Sheen
 
Not sure whether you mean links on a web page, but the code to get the files
is simple.

First you have to reference System.IO which holds the classes you will need.
In the Directory class are methods to get file names using wildcards. Then
use this list to populate the links.

If there are also folders you will have to make the code reentrant.

Lloyd Sheen

Thanks for that. Did some research on System.IO and now have it working.
--
ats@jbex

Those who died are justified, for wearing the badge, they're the chosen
whites
You justify those that died by wearing the badge, they're the chosen whites

Rage Against The Machine - Killing In The Name
 
Back
Top