private void BindDGEvents(string Keyword) { // EventId, Title, Description, Location, TypeId, StartDate, FinishDate dgEvents.DataSource = CalendarEntry.GetListEventsByKeyword(Keyword); 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); } }