Hi,
i am using an XML data file for my scheduler, i am dynamically creating the file and storing on the disk in this location(
Server.MapPath(
"~/App_Data/Calendar.xml")), everything is working fine as expected.
now i need to create the <RecurrenceRule> tag in the xml, i was looking at one example, but i am not sure how to create the RecurrenceRule String, please advice if there are any existing functions that i can use to build this string?
here is what i have for a training class and their corresponding formats
(1) StartDate (ex: "11/10/2010")
(2) EndDate (ex: "12/12/2010")
(3) StartTime (ex : "9:30AM")
(4) EndTime (ex: "1:30PM")
(5) Days of Week (ex: "Mon,Wed,Fri")
<
Appointment
>
<
ID
>2</
ID
>
<
Subject
>Technical meeting</
Subject
>
<
Start
>2007-03-30T06:30Z</
Start
>
<
End
>2007-03-30T07:30Z</
End
>
<
RecurrenceRule
>
<![CDATA[
DTSTART:20070330T063000Z
DTEND:20070330T073000Z
RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20070406T210000Z;BYDAY=MO,TU,WE,TH,FR;
]]>
</
RecurrenceRule
>
<
Resources
>
<
Room
Key
=
"1"
/>
<
User
Key
=
"1"
/>
</
Resources
>
<
Attribute
Key
=
"CustomAttribute"
Value
=
"1"
/>
</
Appointment
>