When i am using this code i am getting the parsing error.so any help?

my code snippet is :
  
        Google.GData.Calendar.EventEntry entry = new 
Google.GData.Calendar.EventEntry();

        // Set the title and content of the entry.
        entry.Title.Text = "Tennis with Beth";
        entry.Content.Content = "Meet for a quick lesson.";
 
        // Set a location for the event.

        Google.GData.Extensions.Where eventLocation = new 
Google.GData.Extensions.Where();
        eventLocation.ValueString = "South Tennis Courts";
        entry.Locations.Add(eventLocation);

        Google.GData.Extensions.When eventTime = new 
Google.GData.Extensions.When(DateTime.Now, DateTime.Now.AddHours(2));
        entry.Times.Add(eventTime);

       // Uri postUri = new 
Uri("https://www.google.com/calendar/embed?src=nanna.anil.vsp%40gmail.com&ctz=Asia/Calcutta";);

        CalendarEntry calendar = new CalendarEntry();
        calendar.Id = new 
AtomId("c4o4i7m2lbamc4k26sc2vokh5g%40group.calendar.google.com");
        Uri postUri = new 
Uri("https://www.google.com/calendar/embed?src=nanna.anil.vsp%40gmail.com&ctz=Asia/Calcutta";);
        CalendarEntry createdCalendar = 
(CalendarEntry)service.Insert(postUri, calendar);

-- 
You received this message because you are subscribed to the Google
Groups "Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/calendar/community/forum.html

Reply via email to