S
samuelberthelot
Hi,
I'm having a bad time trying to bind a dpl in a datagrid.
Here are my SQL tables:
[Person] {PersonId, PersonName, PersonGroupId}
[PersonGroup] {PersonGroupId, PersonGroupName}
The first column in my grid shows the PersonGroupName's
The second column should be a dpl which source is [Person] for the
PersonGroup of the same row. The value field in the dpl should be
PersonId and the display field should be PersonName.
I already added the columns via templatecolumns. Now I don't know how
to do the databinding
Can you help ?
I'm having a bad time trying to bind a dpl in a datagrid.
Here are my SQL tables:
[Person] {PersonId, PersonName, PersonGroupId}
[PersonGroup] {PersonGroupId, PersonGroupName}
The first column in my grid shows the PersonGroupName's
The second column should be a dpl which source is [Person] for the
PersonGroup of the same row. The value field in the dpl should be
PersonId and the display field should be PersonName.
I already added the columns via templatecolumns. Now I don't know how
to do the databinding
Can you help ?