Problems with combobox population

  • Thread starter Thread starter Alessandro
  • Start date Start date
A

Alessandro

Hi !
There is a way to populate a combobox manually ?

I have a dataset wtih two table, "Services" and "language", the combobox
must have services ID as value and a record from table language as Text.

table Services: table language
[SRVC_ID] [LNG_ID]
[SRVC_ID]
[LNG_name]

in this way combobox serices is populated with service in english, or
italian, or french and so on......
 
Alessandro,

Yes, you can populate controls manually. To populate a ComboBox, loop though
the rows in your tables and use ComboBox.Items.Add to add each element to
the ComboBox.
 
Alessandro said:
Hi !
There is a way to populate a combobox manually ?

I have a dataset wtih two table, "Services" and "language", the combobox
must have services ID as value and a record from table language as Text.

table Services: table language
[SRVC_ID] [LNG_ID]
[SRVC_ID]
[LNG_name]

in this way combobox serices is populated with service in english, or
italian, or french and so on......

Not quite certain of your issue, but I'd go with a DataView and a
RowFilter on Language.

-a
 

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