i used this code in image url to loading image dynamically, but raise an error:
Code: Select all
{String.Format(System.Web.HttpContext.Current.Server.MapPath("~/data/{0}_{1}.jpg"), ToString(tblReservation.R_Id) , ToString(tblReservation.Id))}
can i import Ssytem.Web assembly in report?!error CS0234: The type or namespace name 'HttpContext' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
can i load image in web dynamically?
// asp.net 3.5
// stimulreport 2010.1