Hi, i have into a db the column recurrence_rule for the recurring appointment
Example:
DTSTART:20081124T090000Z
DTEND:20081124T100000Z
RRULE:FREQ=WEEKLY;UNTIL=20081227T000000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;WKST=MO
I would you like to convert this in a format standard
Example:
I try to view a example : http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html
But i would you like to convert this recurrence_rule by database in radschedulerappointment_Created
My code:
Dim oRicurrence As Label = CType(e.Container.FindControl("LbRecurrence"), Label)
If e.Appointment.Attributes("Recurrence_rule") = "" Then
Else
Dim rule As HourlyRecurrenceRule = e.Appointment.Attributes("Recurrence_rule")
For Each occurrence As DateTime In rule.Occurrences
Console.WriteLine("" & Chr(9) & "{0}", occurrence)
Next
End If
Is similar but how i can to make the same example of (Working with Recurring Appointments) with a recurrence_rule column that is into db?
Example:
DTSTART:20081124T090000Z
DTEND:20081124T100000Z
RRULE:FREQ=WEEKLY;UNTIL=20081227T000000Z;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR;WKST=MO
I would you like to convert this in a format standard
Example:
11/24/2007 3:30:00 PM
11/24/2007 5:30:00 PM
....I try to view a example : http://www.telerik.com/help/aspnet-ajax/schedule_serversideworkingwithrecurringappointments.html
But i would you like to convert this recurrence_rule by database in radschedulerappointment_Created
My code:
Dim oRicurrence As Label = CType(e.Container.FindControl("LbRecurrence"), Label)
If e.Appointment.Attributes("Recurrence_rule") = "" Then
Else
Dim rule As HourlyRecurrenceRule = e.Appointment.Attributes("Recurrence_rule")
For Each occurrence As DateTime In rule.Occurrences
Console.WriteLine("" & Chr(9) & "{0}", occurrence)
Next
End If
Is similar but how i can to make the same example of (Working with Recurring Appointments) with a recurrence_rule column that is into db?