Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extract row-column from array of objects
Message
General information
Forum:
ASP.NET
Category:
LINQ
Environment versions
Environment:
C# 4.0
Miscellaneous
Thread ID:
01508607
Message ID:
01508696
Views:
30
Now that you see the code I posted that works you can see how right you are <g>

Once I actually realized the anyTypeArray thing ( totally undocumented in the C# API for goldlasso ) was key to the process, I started intellisensing my way out of it.

I'm such a rookie on webservice stuff I just figured this was some webby hoodoo eveyone else knew about <bg>


>>>>>>I can put in result{0] and see that node but I can't figure out the rest
>>>>>>
>>>>>>result[0].item[0].value would seem logical to me but doesn't work

>>>
>>>How about just result[0].item[0] ... leave off the .value
>>>
>>>~~Bonnie
>>
>>Nope, doesn't like that. Once you get result[0]. it has no idea what item is .
>>
>
>It looks like when you access result[0] it is currently cast as an "object" type, but it's actually a "GLWebService.goldlasso.anyTypeArray1" type. So I'd guess you'd have to cast it back to that type before you attempt to access the item property, ex:
>
>
>var element = result[0] as GLWebService.goldlasso.anyTypeArray1;
>
>if (element != null)
>{
>    int id = (int)element.item[0];
>    // access other items
>}
>


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Previous
Reply
Map
View

Click here to load this message in the networking platform