private bool StepSearchSectionsNext()
        {
            // Get where clause and order by clasue
            string whereClause = GetWhereClause();
            string orderByClause = GetOderByClause();

            // Search
            ProjectAddSectionsTDS dataSet = new ProjectAddSectionsTDS();
            dataSet.ProjectAddSectionsSearch.Merge(projectAddSectionsSearch, true);
            ProjectAddSectionsSearch model = new ProjectAddSectionsSearch(dataSet);

            model.Load(whereClause, orderByClause);

            // Review Previous Work
            int projectId = Int32.Parse(hdfProjectId.Value);
            int companyId = Int32.Parse(hdfCompanyId.Value);

            model.UpdatePreviousWorks(projectId, companyId);

            // Store tables
            projectAddSectionsSearch = (ProjectAddSectionsTDS.ProjectAddSectionsSearchDataTable) model.Table;
            Session["projectAddSectionsSearch"] = projectAddSectionsSearch;

            return true;
        }
        private bool StepSearchIntermediateSectionsNext()
        {
            // Get where clause and order by clause
            string whereClause = GetIntermediateWhereClause();

            string orderByClause = GetIntermediateOderByClause();

            // Search
            ProjectAddSectionsTDS dataSet = new ProjectAddSectionsTDS();
            dataSet.ProjectAddSectionsSearch.Merge(projectAddSectionsSearch, true);
            ProjectAddSectionsSearch model = new ProjectAddSectionsSearch(dataSet);

            model.Load(whereClause, orderByClause);

            // Store tables
            projectAddSectionsSearch = (ProjectAddSectionsTDS.ProjectAddSectionsSearchDataTable)model.Table;
            Session["projectAddSectionsSearch"] = projectAddSectionsSearch;

            return true;
        }