Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

LookupEdit - Standard Binding (to Simple Data Types)

$
0
0
This example shows how to use an in-place LookUpEdit control (RepositoryItemLookUpEdit) for editing cells in a grid column.

The lookup editor in the example is used to edit the CategoryID field values from the Products list. However, instead of displaying category IDs, the editor will display corresponding category names in the edit box.

The main properties used to set up the LookUpEdit control are:
- DataSource - Specifies the lookup data source.
- ValueMember - Specifies the field from the lookup data source whose values match the editor's edit value.
- DisplayMember - Identifies the field from the lookup data source whose values match the editor's display text.
Question Comments

Added By: Valentin Badea at: 7/17/2016 3:38:51 PM    VB ?Added By: Stas (DevExpress Support) at: 7/18/2016 12:27:39 AM    

Hello Valentin,
I've added the VB solution to this example.

P.S.
To be able to convert any C# project to VB, you can use a free Instant VB tool.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>