ValueMember property

  • Thread starter Thread starter Bruce A. Julseth
  • Start date Start date
B

Bruce A. Julseth

Does the ValueMember property in the ComboBox work like the DisplayMember
property. For example, if I set the properties:


comboBox1.DataSource = dataSet1;comboBox1.DisplayMember =
"Employees.LastName";comboBox1.ValueMember = "Employees.EmployeeID";
"
 
Bruce A. Julseth said:
Does the ValueMember property in the ComboBox work like the DisplayMember
property. For example, if I set the properties:


comboBox1.DataSource = dataSet1;comboBox1.DisplayMember =
"Employees.LastName";comboBox1.ValueMember = "Employees.EmployeeID";
"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top