我想在我的Web应用程序中制作事件日历。谷歌日历在Asp.net C#
我使用这个例子,但它返回错误,当我执行它。
http://www.codeproject.com/Articles/201907/Using-Google-Calendar-in-an-ASP-NET-Website
ERROR IS GIVEN BELOW
-----------------------------------------------------------------------------------
Compiler Error Message: CS0103: The name 'GetCalendarID' does not exist in the current context
Source Error:
Line 11: <div>
Line 12:
Line 13: <iframe name="a" src="https://www.Google.com/calendar/embed?src=<%=GetCalendarID()%>&ctz=Europe%2FMoscow"
Line 14: style="border: 0" width="800"
Line 15: height="600" frameborder="0" scrolling="no" id="Test">
-----------------------------------------------------------------------------------
任何一个能帮助我吗?
,或者如果你有更好的解决然后告诉我
问候, 马哈茂德ALVI
你的代码隐藏文件中有GetCalendarID()方法吗? ...并在右边的箱子里? – 2012-07-06 05:51:49
'GetCalendarID()'看起来像是对代码隐藏方法的调用。它存在吗?你的一些代码(aspx + aspx.cs)会有所帮助。 – 2012-07-06 05:52:03