简体   繁体   English

在Web应用程序中将事件从asp.net发送到Google日历

[英]send event from asp.net to google calender in web application

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

Have a look at Google API Calendar http://code.google.com/intl/nl-NL/apis/calendar/ 看看Google 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 Create single-occurance event 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);

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Ajax Calender Extender无法在Asp.net Web应用程序中运行 - Ajax Calender Extender not working in Asp.net Web Application 如何在 ASP.NET MVC 5 中从 gmail 向谷歌日历发送邀请? - How to send invitation to google calender from gmail in ASP.NET MVC 5? WCF服务从客户端应用程序获取数据并发送到Web应用程序(Asp.NET) - WCF Service Get Data From Client Application And Send to Web Application (Asp.NET) 如何将数据从Windows窗体应用程序发送到Asp.Net Web服务应用程序 - How to send data from a Windows Form Application to a Asp.Net Web Service Application 具有预订功能的网站的ASP.Net事件日历 - ASP.Net event calender for website with booking feature 在ASP.Net应用程序中获取Outlook Calender事件 - Getting Outlook Calender events in ASP.Net application asp.net中的DateTime日历 - DateTime calender in asp.net ASP.Net Jquery日历 - ASP.Net Jquery Calender 如何使用 asp.net 和 c# 从 web 应用程序向手机发送短信? - how to send sms to mobile from web application using asp.net and c#? 如何在ASP.Net webForms中从Web应用程序向移动设备发送和接收短信 - How to send and receive sms from web application to mobile in ASP.Net webForms
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM