Click here to Skip to main content
15,895,462 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all

Please tell me on a button click how to save the *.doc or *.docx file into database..
i have taken the datatype as varbinary(MAX)

thank you
Posted
Comments
choudhary.sumit 7-Dec-12 1:33am    
why don't you save the path of the file in the database instead??
[no name] 7-Dec-12 1:35am    
i am not considering any fixed path..
choudhary.sumit 7-Dec-12 1:42am    
then follow the solution given by mehdi gholam in solution1

 
Share this answer
 
 
Share this answer
 
Comments
[no name] 7-Dec-12 1:35am    
Is this can be done in windows application..??
[no name] 7-Dec-12 1:48am    
Webservice can be consumed by any kinda client :)
If you're satisfied with the given answer, Accept the Solution :)

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