ASP.Net
How can I save an image into the database and how to access and display that image in ASP.Net using with C#.Net.
3 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 attend5days leftRegister
Harshal ThakreRank #9,158 · 210 reputationPosted Aug 13, 2014, 1:02 AM EDT
if we are saving image in binary format in database then it will take bulk space in ms sql so you must store path in database and image store in folder.
like: /image/abc.jpg
and in c# code:
Harshal ThakreRank #9,158 · 210 reputationPosted Aug 13, 2014, 1:03 AM EDT
Tadit DashRank #1,066 · 1.8K reputationPosted Aug 13, 2014, 1:32 AM EDT
1. how to insert images into database and how to retrieve and bind images to gridview using asp.net (or) save and retrieve images from database using asp.net
2. Uploading and Displaying Images From DataBase Using ASP.Net C#