/// <summary> /// Method used to load the data used from the sample xml file into the state object /// </summary> /// <returns></returns> private EmployeeData LoadEmployeeData() { // instantiate the strongly typed dataset object and load it from the XML file Client.EmployeeData data = new EmployeeData(); data.ReadXml(DATAFILE); data.AcceptChanges(); // store the dataset into the state object State[STATE_EMPLOYEEDATA] = data; return(data); }