2

I'm trying to connect xpcollection, below is xpcollection code I'm using:

Private Agent As New XPCollection(Of clAgent)(UOW)

I would like data from this collection to be visible in CheckedComboBoxEdit, I think it should be DataBindings, however it's not working, or I don't know how to work it out. Any ideas of how to add results from xpcollection to CheckedComboBoxEdit?

Thanks

Patryk

TaZz
  • 652
  • 7
  • 20

1 Answers1

3

You need to use the RepositoryItemCheckedComboBoxEdit.DataSource property to assign a data source to CheckedComboBoxEdit.

Private Agent As New XPCollection(Of clAgent)(UOW)
CheckedComboBoxEdit.Properties.DataSource = Agent
Gosha_Fighten
  • 3,838
  • 1
  • 20
  • 31