private void FindAll() { try { MaterialCategoryObjectCollection materialCategories = new BL.Internal.MaterialCategory().GetAll(); foreach (MaterialCategoryObject materialCategory in materialCategories) { new BL.Internal.MaterialCategory().AddChilds(materialCategory); } this.gdcMaterialCategory.DataSource = materialCategories; } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } }