I am guessing (as i don't see the complete code...) that you are using an AtomEntry, not an EventEntry?

EventEntry is the calendar specific calendar subclass. You might want to look into the /unittests or samples/calendar directories for sample code for this.

Frank Mantek

On 9/19/06, chrisdeffer <[EMAIL PROTECTED]> wrote:

It is a.

This code is mostly from the c# samples.

entry.Title.Text = this.TextBox1.Text;

        DateTime startTime = DateTime.Now.AddHours(5); // insert event
5 hours out
        When newTime = new When();
        newTime.StartTime = startTime;

Everything works above until I get to:

entry.Times.Add(newTime);

A method for "Times" cannot be found.
I have included,
using Google.GData.Client ;
using Google.GData.Extensions;
using Google.GData.Calendar;

What am I missing?

Thanks,
Chris



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi
-~----------~----~----~----~------~----~------~--~---

Reply via email to