If have some related data in a couple of IList<> that I have read from SQL Server using Fluent NHibernate.
If have object of the following class in a list
and I have objects of this class in a list also
In my WinForms application I want to edit the MediaProperty value in a drop down list, and select the MediaProperty by the Name field in the list. The RadGridView has its DataSource property set as the list of Media, how do I configure the GridViewComboBoxColumn to provide the functionality I want.
Thanks in advance
If have object of the following class in a list
public class Media{ public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual decimal Halo { get; set; } public virtual decimal ExchangeRate { get; set; } public virtual int DecimalPlaces { get; set; } public virtual bool IsCash { get; set; } public virtual MediaProperty Property { get; set; }}and I have objects of this class in a list also
public class MediaProperty{ public virtual int Id { get; set; } public virtual string Name { get; set; } public virtual bool InUse { get; set; } public virtual bool IsForeign { get; set; } public virtual bool TenderingProhibited { get; set; } public virtual bool OverTenderingProhibited { get; set; } public virtual bool TenderingZeroBalanceProhibited { get; set; } public virtual bool NoChangeFromThisMedia { get; set; } public virtual bool NoChangeGiven { get; set; } public virtual bool TenderingCompulsory { get; set; } public virtual bool ChangeGoesToTips { get; set; } public virtual bool ChangeFromSelectedMedia { get; set; } public virtual Enumerations.CidAffect AffectsCid { get; set; } public virtual Enumerations.DrawerOpen OpensDrawer { get; set; }}In my WinForms application I want to edit the MediaProperty value in a drop down list, and select the MediaProperty by the Name field in the list. The RadGridView has its DataSource property set as the list of Media, how do I configure the GridViewComboBoxColumn to provide the functionality I want.
Thanks in advance