Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Inserting a picture into SQL server database

Posted on 2003-10-28
5
Medium Priority
?
212 Views
Last Modified: 2010-04-17
I want to store picure in the database. So I create a table with a 'image' field. but I don't know how to insert picture into it.So what can i do?
0
Comment
Question by:jlakmali
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
bhagyesht earned 600 total points
ID: 9640346
read the image as a byte stream and insert the byte stream into the database.
0
 
LVL 9

Expert Comment

by:bhagyesht
ID: 9640362
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Simple Linear Regression
Six Sigma Control Plans

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question