private void DisplayCommunication(int driverCommunicationId) { // Load the communication Entities.DriverCommunication communication = null; Entities.Driver driver = null; using (Facade.IDriver facDriver = new Facade.Resource()) { communication = ((Facade.IDriverCommunication)facDriver).GetForDriverCommunicationId(driverCommunicationId); int driverId = facDriver.GetDriverForDriverCommunicationId(driverCommunicationId); driver = facDriver.GetDriverForResourceId(driverId); } if (communication != null && driver != null) { lblDriverFullName.Text = driver.Individual.FullName; lblCommunicationStatus.Text = Utilities.UnCamelCase(communication.DriverCommunicationStatus.ToString()); lblCommunicationType.Text = Utilities.UnCamelCase(communication.DriverCommunicationType.ToString()); lblCommunicationComments.Text = communication.Comments.Replace("START PLACE", "<br>START PLACE").Replace("STOP", "<br>STOP"); lblCommunicationText.Text = communication.Text; lblCommunicationNumberUsed.Text = communication.NumberUsed; } }