binding to a dropdown control

Discussion in 'ASP .Net' started by blenderdude, Aug 3, 2003.

  1. blenderdude

    blenderdude Guest

    I would like to bind a list of items to a drop down control and then
    bind the selectedvalue to a row from a different table. Is it possible
    to do this with just databinding? I can populate the drop down ok, its
    binding the selected value that causes problems.

    For example say you had a list of states in the tblstates table. You
    load these into the dropdown. And then you want to select the correct
    state from the proper record in the tblContacts table.

    Currently I would have to populate the control with a databind and
    then manually select the proper state.

    Thanks,
    Mike
    blenderdude, Aug 3, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. vishnu
    Replies:
    1
    Views:
    1,202
    Patrick.O.Ige
    Mar 25, 2006
  2. Mike
    Replies:
    1
    Views:
    802
  3. acadam
    Replies:
    0
    Views:
    754
    acadam
    Dec 27, 2006
  4. Replies:
    2
    Views:
    432
  5. Steve Myers
    Replies:
    2
    Views:
    271
    Steve Myers
    Nov 20, 2003
Loading...

Share This Page