Storing image in mysql table

how to store image in mysql and how to access it

Page 1 of 1

1 Replies - 3813 Views - Last Post: 11 June 2008 - 04:35 AM Rate Topic: -----

#1 shazi_khatoon  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 1
  • Joined: 10-June 08

Storing image in mysql table

Posted 10 June 2008 - 11:42 PM

hi
how to store the image in the mysql database table using vb.net
Is This A Good Question/Topic? 1

Replies To: Storing image in mysql table

#2 robertelder  Icon User is offline

  • New D.I.C Head

Reputation: 5
  • View blog
  • Posts: 30
  • Joined: 06-June 08

Re: Storing image in mysql table

Posted 11 June 2008 - 04:35 AM

shazi_khatoon,

There is a policy on these forums that people asking for help need to show some of their work. This makes sure that the forums are not used by students to have somebodey else do their homework for them without putting in any of their own effort. More importantly it helps other programmers see what you've tried and be better able to help you out.

Generally it is not considered a good idea to store images directly in a database as it is a waste of your system's resources. Instead, it is common practice to store the filepath in the database and call up the image as needed.

-Rob
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1