G
Guest
Can someone please tell me why when ever I view a PDF file through my web
application the file opens in notepad...
I have checked my file association and the client machine is set to launch
PDF's in Acrobat Reader 7 so that isn't the problem...
Here is the part of the code for my view.aspx file... which works fine with
word an excel documents but for some reason won't open PDF's...
Thanks
...CODE..
While myReader.Read
Response.BinaryWrite(myReader.Item("Data")) 'Writing the
File retrieved from the database
Response.ContentType = myReader.Item("fileType") 'Setting
the file type of the retrieved file
End While
application the file opens in notepad...
I have checked my file association and the client machine is set to launch
PDF's in Acrobat Reader 7 so that isn't the problem...
Here is the part of the code for my view.aspx file... which works fine with
word an excel documents but for some reason won't open PDF's...
Thanks
...CODE..
While myReader.Read
Response.BinaryWrite(myReader.Item("Data")) 'Writing the
File retrieved from the database
Response.ContentType = myReader.Item("fileType") 'Setting
the file type of the retrieved file
End While