Posted on: 11/18/2014 11:50:56 AM | Views : 600

when i upload a file with code
 if (fuProfileImage.HasFile)         {             string ext = System.IO.Path.GetExtension(fuProfileImage.FileName).ToLower();             if (ext == ".jpg" || ext == ".jpeg" || ext == ".png" || ext == ".gif")             {                 // Session["img"] = DateTime.Now.Ticks.ToString();                 string img = RefId;                 string imgf = Server.MapPath("~/Photo") + "/" + img + ext; & ...

Go to the complete details ...