6
Answers

Build a Menu control from a datasource control

peter

peter

2y
659
1

i have data in table representing vehicle Make and Models.

example

    Make       MakeID      Model     ModelID

     Ford          1              Focus      23      

     Ford          1             Fiesta       23

  Honda          2             Jaz           25

I would like to bind this data to a Menu control using XMLDATASOURCE looing like this

 <Vehicles>
    <MAKE  Text="Alfa Romeo" value="18">
        <MODEL Text="147" value="21" ></MODEL>
      <MODEL Text="148" value="22" ></MODEL>
      </MAKE>
    
  </Vehicles>

 

Answers (6)