protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { FileUpload1.SaveAs(Server.MapPath("~/") + FileUpload1.FileName); Label32.Visible = false; } if(FileUpload1.HasFile) { Panel1.Visible = true; Panel2.Visible = true; FileUpload1.Visible = false; Button1.Visible = false; XmlReader xmlRdr = XmlReader.Create(Server.MapPath("~/") + FileUpload1.FileName); while (xmlRdr.Read()) { if (xmlRdr.Name == "CompanyName") { Label13.Text = (Label13.Text == string.Empty) ? xmlRdr.ReadString() : Label13.Text; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)