3 Replies - 5787 Views - Last Post: 21 March 2010 - 08:53 AM Rate Topic: -----

#1 ans2007kumar   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 67
  • Joined: 25-September 09

Storing Pdf ,doc and image in sql database and retrieve

Posted 20 March 2010 - 06:47 AM

Sir/Mam,
I am a noob in ado.net and i need your help to know how to store pdf ,image and doc file in sql database and retrieve it. Please provide me the code and what datatype i should used in DB to store them i need help as soon as i may get from anyone.
Is This A Good Question/Topic? 0
  • +

Replies To: Storing Pdf ,doc and image in sql database and retrieve

#2 Jayman   User is offline

  • Student of Life
  • member icon

Reputation: 423
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Storing Pdf ,doc and image in sql database and retrieve

Posted 20 March 2010 - 10:15 AM

Why are you storing the files in the database?

Store the files on the server and keep the location saved in the database.

[rules][/rules]
Was This Post Helpful? 0
  • +
  • -

#3 ans2007kumar   User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 67
  • Joined: 25-September 09

Re: Storing Pdf ,doc and image in sql database and retrieve

Posted 20 March 2010 - 11:03 PM

yes i know about your policy but i need help in this part as i don't have any clue regarding it that's why i mentioned already i am a noob in the database related work.So please tell me even how to store data in server and retrieve it please i beg u i need to make my major project in 2 week time only left.
Was This Post Helpful? 0
  • +
  • -

#4 Jayman   User is offline

  • Student of Life
  • member icon

Reputation: 423
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Storing Pdf ,doc and image in sql database and retrieve

Posted 21 March 2010 - 08:53 AM

I would suggest you start by reading the following tutorial.

SQL Basics
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1