protected void Save(object sender, EventArgs e) { byte[] data; WebClient webClient = new WebClient(); data = webClient.DownloadData(hfImageUrl.Value); File.WriteAllBytes(Server.MapPath("~/myGoogleMap.jpg"), data); imgServer.ImageUrl = "~/myGoogleMap.jpg"; imgServer.AlternateText = "~/myGoogleMap.jpg"; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)