Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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 6-Dec-12 19:30pm
Comments
choudhary.sumit at 7-Dec-12 1:33am
   
why don't you save the path of the file in the database instead??
snehasish nandy at 7-Dec-12 1:35am
   
i am not considering any fixed path..
choudhary.sumit at 7-Dec-12 1:42am
   
then follow the solution given by mehdi gholam in solution1
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  
Comments
snehasish nandy at 7-Dec-12 1:35am
   
Is this can be done in windows application..??
Krunal Rohit at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 641
1 OriginalGriff 508
2 Tadit Dash 420
3 sanket saxena 337
4 Peter Leow 228
0 Sergey Alexandrovich Kryukov 11,800
1 OriginalGriff 7,225
2 Peter Leow 5,009
3 Abhinav S 3,893
4 Maciej Los 3,575


Advertise | Privacy | Mobile
Web04 | 2.8.140421.2 | Last Updated 7 Dec 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid