2011-05-08 145 views

回答

1

下载api,查看api。 http://code.google.com/apis/calendar/data/2.0/developers_guide_dotnet.html

注意创建活动 从部分:http://code.google.com/apis/calendar/data/2.0/developers_guide_dotnet.html#CreatingSingle

  1. 身份验证服务

  2. 创建事件

 
EventEntry entry = new 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. 
Where eventLocation = new Where(); 
eventLocation.ValueString = "South Tennis Courts"; 
entry.Locations.Add(eventLocation); 

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

Uri postUri = new Uri("https://www.google.com/calendar/feeds/default/private/full"); 

// Send the request and receive the response: 
AtomEntry insertedEntry = service.Insert(postUri, entry); 
+0

什么雅虎? – Alexandre 2011-05-08 20:07:50

+0

javascript:http://developer.mail.yahoo.com/om/docs/OpenapiPublic/Calendar.html jQuery:http://keith-wood.name/icalendar.html等等 – 2011-05-09 04:33:47