How to insert an image in database SQL Server with VB.NET.
In this article we will learn how to insert an image in database SQL Server with VB.NET.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: How to insert an image in database SQL Server with VB.NET.
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

piragar janarthananPosted Jan 25, 2011, 1:13 PM
please more details or add samples
Samuel OkoyePosted Dec 14, 2010, 2:09 AM
Thanks, This works on a local machine hosting the SQL Server 2005. But for the clients connecting to the database it does not keep the image and the image disappears immediately you move out of the record. I have a shared directory on the host machine where the pictures are.
addis abebePosted Dec 10, 2010, 4:28 AM
i inserted picture in my data base but i cant see the picture in my data base table why?
jhoni ermansyahPosted Nov 2, 2010, 11:02 PM
Hello, Mr Rohatash Kumar why, my coding can't read this code. I'm use vb.net Dim ms As New MemoryStream() error list type 'memorystream' is not defined. please, give me the clue ? best regards Newbie jhoni