コード例 #1
0
ファイル: OpenIdServices.cs プロジェクト: uvbs/eshopSanQiang
        private void BindEmptyList()
        {
            PluginItemCollection emptyItems = SubSiteOpenIdHelper.GetEmptyItems();

            if (emptyItems != null && emptyItems.Count > 0)
            {
                this.grdEmptyList.DataSource = emptyItems.Items;
                this.grdEmptyList.DataBind();
                this.pnlEmptyList.Visible = true;
                this.pnlEmptyNote.Visible = false;
                return;
            }
            this.pnlEmptyList.Visible = false;
            this.pnlEmptyNote.Visible = true;
        }
コード例 #2
0
        private void BindEmptyList()
        {
            PluginItemCollection emptyItems = SubSiteOpenIdHelper.GetEmptyItems();

            if ((emptyItems != null) && (emptyItems.Count > 0))
            {
                grdEmptyList.DataSource = emptyItems.Items;
                grdEmptyList.DataBind();
                pnlEmptyList.Visible = true;
                pnlEmptyNote.Visible = false;
            }
            else
            {
                pnlEmptyList.Visible = false;
                pnlEmptyNote.Visible = true;
            }
        }