how to store picture in database?
i want to know the code.
Database picture
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Aug 14, 2011, 1:21 AM EDT
cmd.Parameters.Add("@picture, bytes); // set parameter equal to buffer
Satyapriya NayakRank #47 · 31.5K reputationPosted Aug 14, 2011, 9:20 AM EDT
Already Vulpes has explained you nicely.
Also
Please refer the below link
http://aspalliance.com/articleViewer.aspx?aId=138&pId=
http://www.beansoftware.com/ASP.NET-Tutorials/Images-Database.aspx
Thanks