using Google.GData.Calendar; using EventEntry = Google.GData.Calendar.EventEntry; using Site.Code; using Google.GData.Extensions; using Google.GData.Client; EventEntry entry = new EventEntry(); entry.Title.Text = "Tennis with Beth"; entry.Content.Content = "344Meet for a quick lesson."; Where eventLocation = new Where(); eventLocation.ValueString = "South Tennis Courts"; entry.Locations.Add(eventLocation); When eventTime = new When(DateTime.Now.AddHours(3),DateTime.Now.AddHours(1)); entry.Times.Add(eventTime); Uri postUri = new Uri("http://www.google.com/calendar/feeds/default/private/full"); CalendarService myService = new CalendarService(""); myService.setUserCredentials("sajiths@gmail.com","123"); // Send the request and receive the response: AtomEntry insertedEntry = myService.Insert(postUri,entry);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)