0

我想从 asp.net 应用程序向我的谷歌日历帐户发送事件

4

2 回答 2

0

看看 API

就像 Murph 在评论中所说的那样,链接到 .Net API 的指南

于 2009-11-20T12:42:45.497 回答
0

看看谷歌 API 日历 http://code.google.com/intl/nl-NL/apis/calendar/

http://code.google.com/intl/nl-NL/apis/calendar/data/2.0/developers_guide_dotnet.html#CreatingSingle 创建单次事件

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("http://www.google.com/calendar/feeds/default/private/full");

// Send the request and receive the response:
AtomEntry insertedEntry = service.Insert(postUri, entry);
于 2009-11-20T12:44:59.120 回答