Hi,
i had created image button and assigned image url as per the below code
imagebutton1.imageurl = server.mappath("photo")+ "\" + imagefilename
photo -> image folder in my project
imagefilename -> retrieving from database(including extension like .jpg,etc)
and also i had created image button thru html coding as
<img id="imgbtn" runat="server">
and in codebehind page load event
imgbtn.src = server.mappath("photo")+ "\" + imagefilename
but both the codings are working in local system but not in server.
i checked path coding( server.mappath("photo")+ "\" + imagefilename) by assigning to textbox. its working correctly but image is not displayed.
deletion,creation,updation everything is happening but only problem is displaying image.
How can i resolve this problem.