Hi,
I created a virtual directory inside of my web site. I will like to know how I can display my documents without showing the full url path of the shared directory were the documents are. file://SharedNetwork/globalDirectory$/Files/Directory/DocumentDirectory/document_name.pdf I
want to hide this from users and display the document name instead of the full url path.
The virtual directory is a shared directory on my network with pdf's.
I set up the directory name and path in my web config;
<add key="SharedDirectory" value="//Files//Directory//DocumentDirectory" />
And this is what I have on my code:
protected void GetFiles()
{
string fileDir = ConfigurationManager.AppSettings["SharedDirectory"];
Di ...
Go to the complete details ...