Carrotware.CMS.UI.Admin.c3_admin.SiteImport.BindData C# (CSharp) Метод

BindData() приватный Метод

private BindData ( ) : void
Результат void
        private void BindData()
        {
            GeneralUtilities.BindDataBoundControl(gvPages, exSite.TheContentPages.Select(s => s.ThePage).OrderBy(s => s.NavOrder));
            GeneralUtilities.BindDataBoundControl(gvPosts, exSite.TheBlogPages.Select(s => s.ThePage).OrderByDescending(s => s.CreateDate));
            GeneralUtilities.BindDataBoundControl(gvSnippets, exSite.TheSnippets.OrderByDescending(s => s.ContentSnippetName));

            GeneralUtilities.BindList(ddlTemplatePage, cmsHelper.Templates);
            GeneralUtilities.BindList(ddlTemplatePost, cmsHelper.Templates);

            lblPages.Text = gvPages.Rows.Count.ToString();
            lblPosts.Text = gvPosts.Rows.Count.ToString();
            lblSnippets.Text = gvSnippets.Rows.Count.ToString();
            lblComments.Text = exSite.TheComments.Count.ToString();
            SetDDLDefaultTemplates();
        }