dropdownlist in datagrid

Discussion in 'ASP .Net' started by samuelberthelot@googlemail.com, Feb 27, 2006.

  1. Guest

    Hi,
    I'm having a bad time trying to bind a dropdownlist that is in a
    datagrid.

    Basically I have two SQL tables:
    [Person] {PersonId, PersonName, PersonGroupId}
    [PersonGroup] {PersonGroupId, PersonGroupName}

    A person can only be in one group.

    The grid should show the groups in the first column (just a label of
    the PersonGroupName)
    The second column should be a dropdownlist and should show the list of
    persons per group that are assign to the group of a particular row in
    the grid.

    I've added my template columns to the datagrid, but now I don't know
    how to bind the dropdownlist :(

    can you help ?
    , Feb 27, 2006
    #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. mr2_93
    Replies:
    1
    Views:
    3,582
    mr2_93
    Oct 2, 2005
  2. tshad
    Replies:
    8
    Views:
    2,206
    tshad
    Oct 19, 2005
  3. =?Utf-8?B?SnVhbmpv?=

    GridView: Filtr DropDownList from another DropDownList

    =?Utf-8?B?SnVhbmpv?=, Dec 23, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,848
    =?Utf-8?B?SnVhbmpv?=
    Dec 23, 2005
  4. =?Utf-8?B?SnVhbmpv?=

    GridView: Filter DropDownList for another DropDownList

    =?Utf-8?B?SnVhbmpv?=, Dec 29, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,283
    =?Utf-8?B?SnVhbmpv?=
    Dec 29, 2005
  5. keithb
    Replies:
    1
    Views:
    11,916
    shauns1
    Nov 1, 2006
Loading...

Share This Page