Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Reading SQL Server varbinary (word, excel, pdf...) documents in browser

Thread Tools

Reading SQL Server varbinary (word, excel, pdf...) documents in browser

desaitapan1 desaitapan1 is offline
Junior Member
Join Date: Dec 2010
Posts: 1
Hi All,

I am working on .Net project where we are storing word, excel, pdf documents in SQL Server as varbinary. One of the user requirement is to search word in document and if found then it should display document in browser with highlighting matching words.

We already have Google Search Appliance which does nice job of returning matching results. We have two problems,

1) Google Search Appliance does not show document in browser as its stored in database and even if it will show then because document is in word or excel format, will ask users to download it instead of directly opening it.
2) As I cannot show users document in browser, there is no way to highlight matching words in document.

One of the suggestion was to convert this varbinary into html and then show in browser window as once itís converted in html I can play with html and highlight matching words. I am not sure how to convert word, excel, pdf documents into html without using third party tools and if I have to use third party tool then which tool is best.

I would really appreciate any help on this.

Tapan Desai
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Question on Varbinary datatype usage in Vinod ASP .Net 9 05-20-2010 10:09 AM
Display .DOC file in Varbinary GaryDean ASP .Net 5 08-15-2007 10:23 AM
store a null in varbinary =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 2 03-09-2007 03:57 AM
Http Session, size, varbinary / blob, and Jdbc as persistent sessions js Java 3 10-17-2005 08:29 AM
Convert varbinary SQLtype to 1-dimensional array of bytes =?Utf-8?B?TmFtZXNwYWNl?= ASP .Net 0 03-13-2005 12:59 PM