Exemple #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            _zonecurrent = ZoneUtility.GetZoneCurrent();
            var dtData = DistributionDB.GetContentByZoneAndRankInZone(_zonecurrent, true, 0, (int)AppEnv.CMSContentRank.Special, 1);

            if (dtData.Rows.Count > 0)
            {
                rptData.DataSource = dtData;
                rptData.DataBind();
            }
            else
            {
                Visible = false;
            }
        }