How to use a tree grid view to create an ASP.NET menu tool

Hi, I would like to create a web form application ASP.NET to comunicate with Aras throught the IOM api. In Aras I created a query that I use for the tree grid view. The tree grid view contains the menu structure (with the main menu items and all levels bellow). Can I get the tree grid view result with an AML query or IOM code? Then I would like to use the XML result as datasource for the ASP.NET menu tool.