Store files in Sql Server DB

asp.net , csharp , db , sql server Quebec, Canada
  • 12 years ago

    hi

    please guide me how i can store files like .doc extension in Database.or file path .Actually  i m using SQL Server 2005 management studio as a back end and ASP.net c# as a front end and i want to save the uploaded files in database.kindly guide me how i can do my task  

    Thanks

    Rabia

  • 12 years ago

    Take a look at the following and see if it helps you. 

    http://support.microsoft.com/kb/309158

     

  • 12 years ago

    hi

     i want to store files like .doc extension.this site does not help me kindly help me !

  • 12 years ago

    Although the article above refers to image files, the concept for storing doc files is the same.

    Doc files will be saved into the database as blob data in the same way as image files are.

    The important point to understand in the article above is the way in which the FileStream object is used to save and retrieve and the files.  

     

  • 12 years ago

    its help me .so kind of you

    thanks 

  • 12 years ago

    I'm glad that it now makes sense to you! 

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Java is to JavaScript what Car is to Carpet.” - Chris Heilmann