Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to save an Image in Sql server when the image is not a file

Status
Not open for further replies.

Frush

Programmer
Jun 27, 2002
75
CA
Here is my problem:

I'm making an app that scan pictures (from a scanner) and put it in a pictureBox. So far so good. Now I want to save it in Sql server. Ive been looking around the web to get some exemple and everything seem to point to the same thing: I need to save the picture in a temp file so I can get the size of it (kb) then fill an array of bytes from the file. Problem is users where I work can't write on their harddrive. So I would like if someone could point me an exemple of someone creating a picture on the fly and saving it to sql. thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top