Image uploading to from fileuploader
How to display the selected image from file uploader in a image box in asp.net at the time of image selection
1 Answer
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
Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Nov 10, 2013, 10:40 PM EST
You can do it by having an image control with the fileupload control.
once file is selected from the dialog box, from code behind, you can set the image bytes to image control source.
Here is an example.