Imports Infragistics.WebUI.Shared Imports Infragistics.WebUI.WebSchedule ... ' Use the GetActivitiesForDate method to find an appointment ' that occurs today. Me.WebScheduleInfo1.DataBind() Dim activities As ActivitiesSubsetCollection = _ Me.WebScheduleInfo1.GetActivitiesForDate(Me.WebScheduleInfo1.ActiveResource, _ New SmartDate(DateTime.Now)) Dim appointment As Appointment = CType(activities(0), Appointment) ' Get the root activity of the recurrence. appointment = CType(appointment.Recurrence.RootActivity, Appointment) ' The recurring appointment you're updating. appointment.Recurrence.MaxOccurrences = 5 ' Update the database with the data provider's UpdateActivity method. Me.WebScheduleOleDbProvider1.UpdateActivity(appointment) ' You need to call DataBind again to update the Activities collection. ' WebScheduleInfo will not automatically call it after you've already ' called it once. Me.WebScheduleInfo1.DataBind()