I have a web in ASP.NET+VB code and there is a folder named POLICY and there are pdf files in it. i want to display the list of files in a aspx file with hyperlink so that the files listed can be opened
You will have to debug and check dirInfo.GetFiles() and see what it returns in both cases.
my folder is in my web folder named policy.
i solved it by changing the aspx file location into policy folder then it works fine the hyperlink is also opening the pdf files in that folder
Please note this will work only for PDF's and that to when PDF Reader is installed. Hence generattly download option is preferred
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.