Matching droplist not working?

Last post 04-19-2007 9:18 PM by Jessica Cao - MSFT. 1 replies.

Sort Posts:

  • Matching droplist not working?

    04-18-2007, 2:43 AM
    • Member
      1 point Member
    • Hassano
    • Member since 01-08-2007, 4:29 PM
    • Posts 49

    Hello Team

    i have a record have a pk and 2 fk, the 2 fk showed in a droplist showing text and their values are fk .

    When i fill the record How to make the drop list match  the fk and view its text because this is not happining and the drop list filled but do not match the fk , any idea

     Thanks lot

  • Re: Matching droplist not working?

    04-19-2007, 9:18 PM
    Answer

    Hi,

    Try this

    DropDownList1.DataTextField="2 fk"

    DropDownList1.DataValueField="fk"

    Jessica

    Jessica Cao
    Sincerely,
    Microsoft Online Community Support


    “Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
Page 1 of 1 (2 items)