I have a C# web service that returns a DataSet with multiple DataTables. It's easy enough to get at the data using this web service event handler in Flex:
static public function getData_Handler(event:ResultEvent):void
{
for each(var table:Object in event.result.Tables)
{
// ...
}
}
How can I access the name of each DataTable from Flex? When debugging, it's clear that each DataTable's name gets mapped to a property on the event.result.Tables object, but I don't see a programmatic way to get a string representation of the name.