Dim Cs = (From c In db.tblCustomers _ Order By c.CustomerID _ Select CustName = c.FirstName & " " & c.LastName, c.CustomerID).ToArray() cmbSelectCustomer.DataSource = Nothing cmbSelectCustomer.DataSource = Cs '' If DisplayMember and ValueMember are incorrect just reverse them. cmbSelectCustomer.DisplayMember = "CustomerID" cmbSelectCustomer.ValueMember = "CustName"
|VB.NET return row from SQL to DataSet and get column values ?||3||27|
|WCF Service Application cannot connect from TCP terminal||1||13|
|Get Client IP on RDS - VB.NET||15||25|
|use of unassigned local variable 'id'||6||21|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
18 Experts available now in Live!