I have been trying to open a .pdf file using a linkbutton. Basically when the button is clicked I want to open the selected .pdf file. I will be passing in the file name but for now I just hard coded for testing. I think I am close but I need a little help.
Dim sdir As New DirectoryInfo(MapPath("~/Manuals/"))
Dim file As FileInfo() = sdir.GetFiles()
For Each file2 As FileInfo In file
If file2.Name = "Test_Manual.pdf" Then