HOW TO DISPLAY IMAGES IN ASP.NET?

Total Post:47

Points:331
 3355  View(s)
Ratings:
Rate this:
I am trying to show image in ASP.NET page, I am using Image Control and storing image in App_Data folder.
Please reply with sample code , how to show image in ASP.NET?
Thanks
  1. Post:103

    Points:721
    Re: How to display images in ASP.NET?

    this is the special folder and this is the secure folder for data. so we cannot access the image in image control.
    we can access the image from the image folder.
    as

    <asp:Image ID="Image1" runat="server" ImageUrl="~/Image/Desert.jpg" />

      Modified On Mar-29-2018 03:44:55 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!