Jesse Joseph Jesse Joseph - 1 year ago 120 Question

How to add devexpress xtragird's repository lookup edit item into dictionary

Dim dictRepositoryItem as new Dictionary(of Datatable, of gridcontrol.repository itemlookupedit)


Answer Source

You need to use the correct type in the dictionary.

Dim dictRepositoryItem As New Dictionary(Of DataTable, DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit)
dictRepositoryItem.Add(Datatable1, repositoryitemlookupedit1)
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download