protected void Page_Load(object sender, EventArgs e) { _zoneCurrent = ZoneUtility.GetZoneCurrent(); _excludeSpecial = ConvertUtility.ToInt32(SessionUtility.GetValue("excludeid")); var source = DistributionDB.GetNewContentByZoneIDNoPage(_zoneCurrent, true, _excludeSpecial); if (source.Rows.Count > 0) { CollectionPager1.DataSource = source.DefaultView; CollectionPager1.BindToControl = rptData; if (AppEnv.GetLanguageFrontEnd() == "vi-VN") { CollectionPager1.LabelText = "Trang: "; } else { CollectionPager1.LabelText = "Page: "; } CollectionPager1.BackText = "<<"; CollectionPager1.PageNumbersSeparator = " "; CollectionPager1.BackNextLinkSeparator = " "; rptData.DataSource = CollectionPager1.DataSourcePaged; rptData.DataBind(); } else { rptData.Visible = false; } }