i am trying to retrive image from folder to Image control in c# webbase but image not getting below is my code.
kindly suggest me
- string filename = Path.GetFileName(Image1.ImageUrl);
- string strtemp = System.DateTime.Now.ToString("dd-MM-yy hh-mm") + filename;
- Image1.ImageUrl = (Server.MapPath("~/CroppedImage/") + DateTime.Now.ToString("dd-MM-yy hh-ss") + ".jpg");