private void BindData()
        {
            EntityMapper eMapper = new EntityMapper(Utils.LocalizedLanguage);

            if (hdnViewMode.Value == "Concept")
            {
                List<ISTAT.Entity.Concept> lItem = eMapper.GetConceptList(_sdmxObjects);

                gvConcepts.PageSize = 12;
                gvConcepts.DataSourceID = null;
                gvConcepts.DataSource = lItem;
                gvConcepts.DataBind();
            }
            else
            {
                List<ISTAT.Entity.ConceptScheme> lConcept = eMapper.GetConceptSchemeList(_sdmxObjects);

                gvConceptScheme.PageSize = 12;
                gvConceptScheme.DataSourceID = null;
                gvConceptScheme.DataSource = lConcept;
                gvConceptScheme.DataBind();
            }
        }
        private void BindData()
        {
            EntityMapper eMapper = new EntityMapper(Utils.LocalizedLanguage);

            if (hdnViewMode.Value == "Concept")
            {
                List<ISTAT.Entity.Concept> lItem = eMapper.GetConceptList(_sdmxObjects);
                List<ISTAT.Entity.Concept> lFilteredItem;

                if (txtSearchID.Text.Trim() != String.Empty || txtSearchName.Text.Trim() != String.Empty)
                {
                    lFilteredItem = lItem.Where(i => i.Code.ToUpper().Contains(txtSearchID.Text.Trim().ToUpper()) || txtSearchID.Text.Trim() == String.Empty).ToList();
                    lFilteredItem = lFilteredItem.Where(i => i.Name.ToUpper().Contains(txtSearchName.Text.Trim().ToUpper()) || txtSearchName.Text.Trim() == String.Empty).ToList();
                }
                else
                    lFilteredItem = lItem;

                gvConcepts.PageSize = 35;
                gvConcepts.DataSourceID = null;
                gvConcepts.DataSource = lFilteredItem;
                gvConcepts.DataBind();
            }
            else
            {
                List<ISTAT.Entity.ConceptScheme> lConcept = eMapper.GetConceptSchemeList(_sdmxObjects);

                gvConceptScheme.PageSize = 12;
                gvConceptScheme.DataSourceID = null;
                gvConceptScheme.DataSource = lConcept;
                gvConceptScheme.DataBind();
            }
        }