string folderPath = MapPath(folderName);
string[] fileList = System.IO.Directory.GetFiles(folderPath);
for(int i=0;i <= fileList.GetUpperBound(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.microsoft.com> wrote in
message news:9C**********************************@microsof t.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?