data in comboBox

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
Hrvoje,

You cannot set a dataset in a combobox.
However one of the tables is very eays

MyCombobox.DataSource = ds.Tables["mytable"];
MyCombobox.DisplayMember = "myDisplayField";
MyCombobox.ValueMember = "myValueField";

I hope this helps?

Cor
 

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

Similar Threads


Back
Top