Click here to Skip to main content
15,896,730 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi i have a content search in a web application,i will use in select query as
SQL
(CONTAINS (Document,'department'))


in above Document is varbinary datatype column it store .doc and .docx file as binary format, and 'department' is a word to search in binary column.

Actually if it is .doc binary in Document column can search and get result, but if it is .docx binary in Document column can't get result.

Note: i will search content(department) in binary formate as store in sql server.i am not download file (binary) from sql and save as word file in temp loaction and not search contnet from word file.
Directly i will search content form binary codes.

Why .docx file only not support ?

Pls reply asap


Regards
Aravind
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900