Esempio n. 1
0
        private void BindDGEvents()
        {
            dgEvents.DataSource = CalendarEntry.GetListFavoritesDT();
            dgEvents.DataBind();

            int RowCount = dgEvents.Items.Count;

            if (RowCount == 0)
            {
                Sep4.Visible = false;
                Pan4.Visible = false;
            }
            else
            {
                Sep4.Title = String.Format("{0} ({1})", LocRM.GetString("CalendarEntries"), RowCount);
            }
        }