Populate dropdown list - InfoPath Dev
in

InfoPath Dev

Populate dropdown list

Last post 03-09-2005 12:09 AM by Patrick Halstead. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 03-02-2005 07:26 AM

    Populate dropdown list

    Hi,

    I've a drop down list, which must be populate with some values contained in a DataTable.
    These DataTable is part of a DataSet returned by web service call.

    I've seen examples about how to set text value to a textBox control, but I've no idea how to populate dropdownList from managed code.

    Any pointers?
    Thanks in advance,

    Mauricio.-
  • 03-09-2005 12:09 AM In reply to

    Hi Mauricio,
    Welcome to the board! You'll need to set up a data connection to the Web service for a secondary data source and then use the secondary data to populate the drop down.

    In the InfoPath designer,
    Double click the drop-down control
    Select "Look up values in a data connection to a database, Web service, etc."
    Click Add to add a data connection
    Choose Web Service
    Specify WSDL for Web service
    ...

    Hope this helps!
    Patrick
    Patrick Halstead
    Project Manager at Qdabra
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.