Hi Everyone,
I want to update picture form C# to oracle Database but without location or path direct i want to update in database is it posible.
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 attend5days leftRegister
Rajesh GamiRank #30 · 41.5K reputationPosted Apr 25, 2018, 1:20 AM EDT
I prefer not to store the images in relational databases, because the imagedata (bytestreams) which you supposed to store are heavy.
You can create a repository on your server and store the images over there (dont forget to set appropriate permission for the user to access). While you create a product instead of storing the image save the location details.
Once you load the product details take the location from the database. :- Create a ASP.NET handler to load the images on the client browser. In Handler request the images from the repository and create BITMAP from the image data.
Dileep Kumar58 reputationPosted May 1, 2018, 3:40 AM EDT
Yogesh GhorpadeRank #2,756 · 509 reputationPosted Apr 25, 2018, 12:54 AM EDT