3 messages in com.googlegroups.google-base-data-apiRe: How do I obtain customer informat...| From | Sent On | Attachments |
|---|---|---|
| steve | 24 Dec 2007 08:01 | |
| askk...@gmail.com | 29 Dec 2007 11:50 | |
| steve | 14 Jan 2008 17:47 |
| Subject: | Re: How do I obtain customer information?![]() |
|---|---|
| From: | steve (step...@gmail.com) |
| Date: | 01/14/2008 05:47:34 PM |
| List: | com.googlegroups.google-base-data-api |
Thanks. That helps. I ended up using "Authors.Count" to check for entries in the collection.
On Dec 29 2007, 2:51 pm, "askk...@gmail.com" <askk...@gmail.com> wrote:
Hi Steve
I use the following snippets to get Author Name and Email. Is this what you are looking for? If you would like to know about a specific attribute, please let know and i could post the snippet for that attrib.
To get Author Name if (GBEntry.Authors.ToString() != null) { AtomPersonCollection APC = GBEntry.Authors; for (int i = 0; i <= APC.Count - 1; i++) { RetVal = APC[i].Name; } }
To Get Author Email if (GBEntry.Authors.ToString() != null) { AtomPersonCollection APC = GBEntry.Authors; for (int i = 0; i <= APC.Count - 1; i++) { RetVal = APC[i].Email; } }
Adminhttp://realestate.marketwatch101.com
On Dec 24, 11:02 am, steve <step...@gmail.com> wrote:
I perform a query using GBaseService, and for each item returned I obtain a customer id:
int customerID = entry.GBaseAttributes.GetIntAttribute("customer id", 0);
Is possible to obtain more information about the customer?
Thanks- Hide quoted text -
- Show quoted text -




