Hi,
My project is a Winform Project.
I have a DataGridView that i have binded to a nhibernate request result.
There are my classes :
Code:
public class Priority
{
private Group group;
private int Prio;
private bool rightToModifyS;
private bool rightToModifyA;
}
public class Group
{
private String Name;
private String Firme;
}
My Code for the binding :
Code:
LoadingFacade LoadingF = new LoadingFacade();
bindingSourcePriorities.DataSource = LoadingF.GetPriorities();
dtgPriorities.DataSource = bindingSourcePriorities;
The LoadingF.GetPriorites(); return a Priority objects list.
I want to see in my datagridview the "Name" and "Firm" of the Group object of the Priority object, but my datagridview shows only the "Prio", "rightToModifyS" and "rightToModifyA" fields.
Thanks for your help ?