one to many relationships

Discussion in 'ASP .Net' started by =?Utf-8?B?cm9kY2hhcg==?=, Oct 7, 2006.

  1. hey all,
    i have a dataset that has a customers tableadapter and an orders
    tableadapter. i have a webform that has a dropdownlist bound to the customers
    and and formview bound to the orders.

    when i click Add the button for the formview on a respective customer the
    insert template shows a writable textbox for the customer id. how do i make
    that a read-only showing the dropdownlist's currently selected customer id?
    seems like this should be an automatic thing.

    thanks,
    rodchar
    =?Utf-8?B?cm9kY2hhcg==?=, Oct 7, 2006
    #1
    1. Advertising

  2. =?Utf-8?B?cm9kY2hhcg==?=

    q Guest

    What exactly are you asking? Normally you just write the label of the
    data in the column and only show the DropDownList in edit mode.


    rodchar wrote:
    > hey all,
    > i have a dataset that has a customers tableadapter and an orders
    > tableadapter. i have a webform that has a dropdownlist bound to the customers
    > and and formview bound to the orders.
    >
    > when i click Add the button for the formview on a respective customer the
    > insert template shows a writable textbox for the customer id. how do i make
    > that a read-only showing the dropdownlist's currently selected customer id?
    > seems like this should be an automatic thing.
    >
    > thanks,
    > rodchar
    q, Oct 7, 2006
    #2
    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. dee
    Replies:
    2
    Views:
    389
  2. =?Utf-8?B?Um9iZXJ0?=

    One to many relationships on webforms

    =?Utf-8?B?Um9iZXJ0?=, Mar 13, 2006, in forum: ASP .Net
    Replies:
    5
    Views:
    598
    Kevin Spencer
    Mar 14, 2006
  3. John
    Replies:
    0
    Views:
    445
  4. Replies:
    3
    Views:
    308
  5. Thomas Zaleski

    Navigation of typed dataset in many-to-many relationships

    Thomas Zaleski, Jul 11, 2003, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    116
    Mikael Gustavsson
    Jul 28, 2003
Loading...

Share This Page