Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is there a way to write PDF to a div from DataBase i.e. Retrieve a Byte[] from Database and Reponse.BinaryWrite to a div.

We do similar thing for Images using src = "anotherpage.aspx" where image is written on anotherpage.

Is it possible with PDF without using IFrame?

share|improve this question

closed as off topic by Alex Angas Jul 1 '10 at 4:40

Questions on SharePoint Stack Exchange are expected to relate to SharePoint within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

Do you mean that you want to extract the contents of a PDF to text and write to the DIV? And what makes this question related to SharePoint 2010? –  Wictor Wilen MCA MCM MVP Jun 23 '10 at 9:56
That div resides in a WebPart. Makes more sense on StackOverflow probably. thanks. –  Anonymous Jun 23 '10 at 13:47
add comment

1 Answer 1

up vote 0 down vote accepted

This is probably more appropriate for a site like Stack Overflow. That having been said, check out : http://stackoverflow.com/questions/848679/reading-a-binary-file-and-using-response-binarywrite.

share|improve this answer
Thanks.......... –  Anonymous Jun 23 '10 at 13:48
add comment