Hi,
Im trying to set a primary key as valuemmeber of a Combobox. The problem is that it wont show the correct data, it show always System.Data.DataRowView. But it works fine when I change the column to one that has no numbers (int. Below is the code:
private void ComboFbo(string destino)
{
bdwinterDataSetTableAdapters.fbosTableAdapter ta = new Sistema.bdwinterDataSetTableAdapters.fbosTableAdap ter();
cboFboNome.DataSource = ta.ComboFbo(destino);
cboFboNome.DisplayMember = "Nome";
cboFboNome.ValueMember = "idFBOs";
cboFboNome.Refresh();
}
Please help me out