How To Save A Picture In a table

  • Thread starter Thread starter Mero
  • Start date Start date
M

Mero

hi to all;

i want to save a picture in column image in a database

for example,in the table "users"
i want to save the user image as when i want to select the user data from the database to show it in my site, the image selected from the table "users"

thanks you
 
Hello,

There are two valid approachs:

- Store the images in a folder of your server, and then store in the DB
just a link to the image (URL). This is easy to implement and you will even
gain in performance.

- You can physically store images on the database, for instance:

http://www.codeproject.com/aspnet/PicManager.asp


HTH
Braulio

/// ------------------------------
/// Braulio Díez
///
/// http://www.tipsdotnet.com
/// ------------------------------
 
Back
Top