Click here to Skip to main content
15,894,539 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HELLO
i can store my record to a database in sql server.
but how i can store appendix file to DB?
IT IS possible to store Image FILE , but is it possible to store other formats? such as word fils or excell files to store in sql server DB?
THANKS
Posted

1 solution

Yes: if you use a binary field, you can store any type of information in it, from Text (Modern Word and Excel files are XML text files) to binary such as executable files.
Just create a VARBINARY column, and use a parametrised query to insert the information from your C# or VB code.
 
Share this answer
 

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