How to change file path to http url
I have a folder of Word doc files under my Web-server wwwroot folder. I have coded a snippet to automatically transfer the file path (C:\Inetpub\wwwroot\) to a ListBox. How can I modify my snippet, so that the ListBox will show the http:// links, instead of the file path.
I know I can use Format menu to change the label to hyperlink one by one, manually. For this aspx page, the hyperlinks will be created automatically, when the file path in the server folder is changed to http url of the LIstBox. How to code this aspx page?
C. Jeffrey Wang