string folderPath = MapPath(folderN ame);
string[] fileList = System.IO.Direc tory.GetFiles(f olderPath);
for(int i=0;i <= fileList.GetUpp erBound(0);i++)
{
Response.Write fileList[i].ToString();
}
go from there, you should be able to do what you need.
--
Curt Christianson
Site & Scripts:
http://www.Darkfalz.com
Blog:
http://blog.Darkfalz.com
"Stephen Zachmann" <St************ *@discussions.m icrosoft.com> wrote in
message news:9C******** *************** ***********@mic rosoft.com...
Ok, I want to have a directory full of pdf files and a page that creates
links to them dynamically so that if I add 10 docs or subtract 7 or
whatever,
they will be added or removed the next time the page is rendered. How do
I
go about searching a directory and then creating links based on the
filename
and location. Is this even possible?