peter

peter

  • NA
  • 320
  • 0

Build a Menu control from a datasource control

Aug 16 2022 9:01 PM

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)