Hi!
Please help me to solve my trouble. I have a custom dialog form with some comboboxes on it. How can I fill my comboboxes from the dataset?
Thank you for help.
How to bind ComboBox on Form to Data?
-
- Posts: 2
- Joined: Tue Jul 04, 2006 7:38 am
How to bind ComboBox on Form to Data?
Hello!GarryGlobe wrote:Hi!
Please help me to solve my trouble. I have a custom dialog form with some comboboxes on it. How can I fill my comboboxes from the dataset?
Thank you for help.
Here 3 solutions for you.
1. You may specify the DataBindings property.
2. You may get native ComboBox by this code:
Code: Select all
ComboBox comboBox = ReportComboBox.Control;
Code: Select all
ReportComboBox.Items.Add("123");