Hi,

Can anyone help me in displaying the subMenus in datagrid.

As when I select any mainMenu in comboBox should display its subMenu in
dataGrid. below is the xml structure I used.

Components used are:

1. ComboBox & XMLConnector
2. DataGrid, XML Connector and DataSet

XML Structure----

<foodMenu>
<foodItem label="Select Your Menu">
</foodItem>
<foodItem label="Salads">
<Food>
<Menu>Classic Tuna Nicoise Salad</Menu>
<Price>12.95</Price>
<Details>Mixed greens, tuna, tomato, green beans, hard boiled egg and
roasted new potatos with Dijon Vinaigrette without Potato</Details>
</Food>
<Food>
<Menu>Cal-Mex Grilled Lime-Chicken Salad</Menu>
<Price>10.95</Price>
<Details>Mixed Greens, chicken, avocado, asparagus, tomato, red onion, red
bell pepper, corn and black beans with Citrus Vinaigrette without corn and
black beans</Details>
</Food>
</foodItem>

<foodItem label="Sandwiches">
<Food>
<Menu>Provencal Tuna Wrap</Menu>
<Price>9.95</Price>
<Details>Tuna, almonds, mustard, balsamic vinegar, capers and lemon juice
in a whole wheat tortilla</Details>
</Food>
<Food>
<Menu>Garden Sandwich</Menu>
<Price>5.95</Price>
<Details>Avocado, alfalfa sprouts, tomato and whole grain mustard on a
whole wheat ciabatta with Marys Turkey Breast</Details>
</Food>
</foodItem>
</foodMenu>

Thank you!!!!!
Have a nice day.

<foodMenu>
<foodItem label="Select Your Menu">
</foodItem>
<foodItem label="Salads">
<Food>
<Menu>Classic Tuna Nicoise Salad</Menu>
<Price>12.95</Price>
<Details>Mixed greens, tuna, tomato, green beans, hard boiled egg and
roasted new potatos with Dijon Vinaigrette without Potato</Details>
</Food>
<Food>
<Menu>Cal-Mex Grilled Lime-Chicken Salad</Menu>
<Price>10.95</Price>
<Details>Mixed Greens, chicken, avocado, asparagus, tomato, red onion, red
bell pepper, corn and black beans with Citrus Vinaigrette without corn and
black beans</Details>
</Food>
</foodItem>

<foodItem label="Sandwiches">
<Food>
<Menu>Provencal Tuna Wrap</Menu>
<Price>9.95</Price>
<Details>Tuna, almonds, mustard, balsamic vinegar, capers and lemon juice
in a whole wheat tortilla</Details>
</Food>
<Food>
<Menu>Garden Sandwich</Menu>
<Price>5.95</Price>
<Details>Avocado, alfalfa sprouts, tomato and whole grain mustard on a
whole wheat ciabatta with Marys Turkey Breast</Details>
</Food>
</foodItem>
</foodMenu>