Wednesday, February 14, 2018

Graphically bind only combobox index to datasource in Visual Studio

Leave a Comment

Edit: I'll try to be more specific.

  1. In Visual Studio, It is easy to bind the items and values of a combobox to 2 columns in a DB.

       Index  |  Name   ...................     0     |  Apples     1     |  Oranges     2     |  Pears 
  2. But if one enters the names manually under items in the Properties window.

  3. And one saves only the index of the combobox to the DB.

      Index .........    0         1         2      

So how does one bind only the index of the combobox to the DB while using the Items entered in the Properties window?

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment