i have 2 tables
tblcall linked to tblcustomer 1:1
i fetch the tblcall entity ( with prefetch to get the related customer)..this works fine.
i also fetch the customers which binds to the combo box fine..but the default customer is not being selected? How do i get it to select the correct customer?
I have tried the following
cmboCustomers.DataBindings.Add("SelectedValue", oCall, "TblCustomer")
Me.cmboCustomers.DataSource = _customers
Me.cmboCustomers.DisplayMember = "Name"
Me.cmboCustomers.ValueMember = "CustomerId"