Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Populating a combobox with binding source

$
0
0

I use the following to bind a combo I was wondering if it would be possible to show both the display and value:

something like

this.cboMain.DisplayMember ="TAXCODE" + "TAXPROVINCE";

    //ComboBox-CURRENTLY USED
            this.cboMain.DataSource = this.bs;
            this.cboMain.DisplayMember = "TAXPROVINCE";
            this.cboMain .ValueMember = "TAXCODE";


Viewing all articles
Browse latest Browse all 2535

Trending Articles



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