i m giving my file path in image.imageurl but it is not show picture how i can show image can any body help me????

Recommended Answers

All 2 Replies

>how i can show image can any body help me????

There are number of ways to show an image.

<img src="Images/inage1.jpg" alt="image"/>
<asp:Image id="img1" runat="server" ImageUrl="~/Images/image1.jpg"/>

Hi there if you are not getting images in the page then there may be a path problem that you are using in the webpage.

You may try

src="../Image1.jpg"

or

src="~/Image1.jpg"

instead of

src="Image1.jpg"

Hope that helps.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.