Posted on: 9/10/2013 2:58:54 PM | Views : 686

Hello,
I have xml file with photo and user tag. Now I have my website with browse the image from local pc and upload into web application img folder, after successfully uploading image, it should be show in the website by refreshing website. But the issue is that the xml tag for new browse image is not generating so website is not show the uploaded images in the website.
Below is the code behind.
protected void Page_Load(object sender, EventArgs e) {
}
protected void btnSubmit_Click(object sender, EventArgs e) { // Before attempting to save the file, verify // that the FileUpload control contains a file. if (FileUpload1.HasFile) { // Call a helper method routine to save the file. SaveFile(FileUpload1.PostedFile);
XmlDocument doc = new XmlDocument(); //string path = @"C:\Users\khant\Documents\visual studio 2012\Projects\UploadImageRetrieve\UploadImageRetrieve\photos.xml"; d ...

Go to the complete details ...