/// <summary> /// Event Handler for btnAddCollege to add a college node where stream = PCM /// </summary> /// <param name="sender">Object on which event has occured</param> /// <param name="e">Args for the event</param> protected void btnAddCollege_Click(object sender, EventArgs e) { //Call the AddCollegeNode() method to add college node where stream = PCM bool result = UtilityFunctions.AddCollegeNode(Server.MapPath(Strings.XmlFilePath)); //Check the result if (result) { Response.Write(Strings.AddCollegeNodeSuccess); } else { Response.Write(Strings.AddCollegeNodeFailed); } }