dropdownlist in datagrid

S

samuelberthelot

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 ?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top