sahernandez
Programmer
Hi, I'm new in VB.NET ,
I trying to Bind a Combobox,
And use this code
I've already connect to my DataBase (ORACLE)
' This is a Fucntion that return a DataTable and it's work
CbEmpresa.DataSource = LoadFunction("select id_empresa , nombre from crews_empresas"
CbEmpresa.DisplayMember = "Nombre"
CbEmpresa.ValueMember = "id_empresa"
'I got the problem here above this line
And the Error say:
"Could not bind to the new display member."
Can anybody help, I know it's not big problem, but I expense 2 hours try to find the way to fix it,
Thxs.
Alexander
I trying to Bind a Combobox,
And use this code
I've already connect to my DataBase (ORACLE)
' This is a Fucntion that return a DataTable and it's work
CbEmpresa.DataSource = LoadFunction("select id_empresa , nombre from crews_empresas"
CbEmpresa.DisplayMember = "Nombre"
CbEmpresa.ValueMember = "id_empresa"
'I got the problem here above this line
And the Error say:
"Could not bind to the new display member."
Can anybody help, I know it's not big problem, but I expense 2 hours try to find the way to fix it,
Thxs.
Alexander