I binded Devexpress gridcontrol, from a list which fetches data from one to many relationed table. I mean, I have one "nID" for many "analiseID"s.
Gridview displays records one under the other like this:
nID Analises
2 A
2 C
2 D
3 A
3 C
...
I need gridview to display data; just one record for each nID accourding its analises in the table, and its analises will come with checkbox checked under the analise name. Analise names will be in the caption part of the gridview. Analise fields will display checked near their nID. Like this:
nID A B C D E
.. (total 34 analises)
2 checked checked checked
3 checked checked
Please give me idea. Thank you.
Aucun commentaire:
Enregistrer un commentaire