Jesse Joseph Jesse Joseph - 2 months ago 6
Vb.net Question

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

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

dictRepositoryItem.add(Datatable1,repositoryitemlookupedit1)

Answer

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)
Comments