wow! It's work! Ben, you're the best! thanks
Alessandro On 4 Dic, 19:21, Ben <[EMAIL PROTECTED]> wrote: > The feed URI should be "http://docs.google.com/feeds/documents/private/ > full". > > On Dec 4, 12:14 pm, CianoIT <[EMAIL PROTECTED]> wrote: > > > mmmh... > > > but theFeddUri: > > > i have: > > Uri mUrl = new Uri("http://docs.google.com/feeds/" + _username + "/ > > private/full"); > > where _username = "[EMAIL PROTECTED]", it's ok? > > > i don't understand, > > thanks Ben! > > > Alessandro > > > On 4 Dic, 17:57, Ben <[EMAIL PROTECTED]> wrote: > > > > This is what I'm doing and it works: > > > > AtomCategory category = new AtomCategory( "http:// > > > schemas.google.com/docs/2007#folder", new AtomUri( "http:// > > > schemas.google.com/g/2005#kind" ) ); > > > category.Label = "folder"; > > > > AtomEntry folder = new AtomEntry(); > > > folder.Categories.Add( category ); > > > folder.Title = new AtomTextConstruct > > > ( AtomTextConstructElementType.Title, theName); > > > theGoogleService.EntrySend( theFeedUri, folder, > > > GDataRequestType.Insert ); > > > > --Ben > > > > On Dec 4, 11:37 am, CianoIT <[EMAIL PROTECTED]> wrote: > > > > > thanks Ben, > > > > but don't work... > > > > > Alessandro > > > > > On 4 Dic, 17:18, Ben <[EMAIL PROTECTED]> wrote: > > > > > > Try setting categoria.Label = "folder". > > > > > > --Ben > > > > > > On Dec 4, 9:23 am, CianoIT <[EMAIL PROTECTED]> wrote: > > > > > > > Hi, > > > > > > i need create a folder with C#, > > > > > > how make this? > > > > > > i try this: > > > > > > > AtomEntry entry = new AtomEntry(); > > > > > > AtomCategory categoria = new AtomCategory(); > > > > > > categoria.Term = "http://schemas.google.com/docs/2007#folder"; > > > > > > categoria.Scheme = "http://schemas.google.com/g/2005#kind"; > > > > > > > entry.Categories.Add(categoria); > > > > > > entry.Title.Text = "Prova Cartella"; > > > > > > > Uri mUrl = new Uri("http://docs.google.com/feeds/" + _username + "/ > > > > > > private/full"); > > > > > > > myService.EntrySend(mUrl, entry, GDataRequestType.Insert); > > > > > > > in this code, i don't have error, but i don't create a folder, why? > > > > > > > thanks all > > > > > > Alessandro --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Docs Data APIs" 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-Docs-Data-APIs?hl=en -~----------~----~----~----~------~----~------~--~---
