Carrotware.CMS.UI.Admin.c3_admin.wp_SiteImport.BindData C# (CSharp) Method

BindData() private method

private BindData ( ) : void
return void
        private void BindData()
        {
            GeneralUtilities.BindDataBoundControl(gvPages, wpSite.ContentPages);
            GeneralUtilities.BindDataBoundControl(gvPosts, wpSite.ContentPosts);

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

            lblPages.Text = gvPages.Rows.Count.ToString();
            lblPosts.Text = gvPosts.Rows.Count.ToString();

            SetDDLDefaultTemplates();
        }