//update XML event
 public void btnUpdateXML_Click(object sender, EventArgs e)
 {
     gvXML.DataSource = myBusinessLayer.WriteUserXMLFile(Cache);
     gvXML.DataBind();
 }