I’m using asp.net MVC and sql server. I have created a page that get some information from user like name,price,… and also one image, and the page repeat it for 30 times. It means every time that user submit the firm all of the information save to database and fields become clear and the user must submit the next information. Now I want that every time that user submit the form the page display the previous uploaded images beside the it. But I don’t know how to display the uploaded image. and also I want to know how to display all of the previous images. Please help me and show me some code! Many Thanks.
Share
If you are storing the Image in SQL as an image data type I would use a custom http handler to display the images on the Page. I use something similar to
To display the image just set the Image url to