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");


Bhavesh VankarRank #1,147 · 1.6K reputationPosted Sep 7, 2020, 9:10 PM EDT
Farhan AhmedRank #73 · 25K reputationPosted Sep 7, 2020, 4:37 AM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Sep 7, 2020, 8:50 PM EDT
Jaish MathewsRank #225 · 11K reputationPosted Sep 7, 2020, 9:07 PM EDT