public string GetEditor(int id, bool fullName) { object result = GetField(editorField, id); if (result != null && result is int) { var empDALC = new EmployeeDALC(connectionString); return(empDALC.GetEmployee((int)result, fullName)); } return(null); }