[SOLVED] DataGridViewComboBoxColumn DataSource, ValueMember and DisplayMember

Answered Closed
0
0

Hi,

 

Trying to use combobox column in DGV but can’t use following properties

  1. DataSource
  2. ValueMember
  3. DisplayMember

Am I missing something?

Thanks,

Cris

  • You must to post comments
Best Answer
0
0

It’s working all right.

 

Snippet

private Wisej.Web.DataGridViewComboBoxColumn productTypeId;
...
this.productTypeId.DataPropertyName = "ProductTypeId";
this.productTypeId.DataSource = this.productTypesBindingSource;
this.productTypeId.DisplayMember = "ProductTypeName";
this.productTypeId.HeaderText = "Product Type";
this.productTypeId.Name = "productTypeId";
this.productTypeId.ValueMember = "ProductTypeId";
...

etc, etc

  • You must to post comments
0
0

Has this changed in the meantime? Is it ready now ?

 

Thanks,

Corvin

  • You must to post comments
0
0

Hi Tiago,

Thanks for the info.

  • You must to post comments
0
0

Hi Cris,

According to Luca’s informations, the ComboBox on DGV isn’t ready (yet).

  • You must to post comments
Showing 4 results