I want to record to a XML with below those codes in ASP.Net.However,I want to add in the fifth element. when I making it as shown below,
Try this:
new XElement("description", new XCData("<>" + TextBox5.Text)),
in place of your current
new XElement("description", "<>" + TextBox5.Text),
line.