What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 50516 |  Welcome, Guest!   Register  Login
  Home > Community Home >

Get back the image

  Posted on: 2/6/2012 3:03:56 AM | Views: 6

Recommend an Articles | Recommended Articles | Search Resources | Community Home |




hello i have code .. programe to upload pic.s....
 
every thing is work fine...
but i dont know how can i get the pic back or display it in the page ...any help this is my coad ... i tried to save the path in session but it dose not work
here is my coad >
protected void Button1_Click(object sender, EventArgs e)/////upload { if (this.FileUpload1.HasFile) { string FileName = this.FileUpload1.FileName; this.FileUpload1.SaveAs(MapPath("~/DPfiles/" + FileName)); this.Labelupload.Text = "Uploading File: " + FileName + " To Server"; // this.SendConfirmationEmail(FileName); this.SaveFileInDB(FileName); } else { this.Labelupload.Text = "No File to Upload, Ple ... Go to the complete details ...

Found interesting? Add this to:


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/22/2013 7:19:37 AM