Last post Aug 17, 2015 01:18 AM by Angie xu - MSFT
Aug 14, 2015 01:38 AM|VSForEver|LINK
I am creating a simple Form in VS 2010 by using access database as backend source data.
I dragged the access fields in the VS form, everything is fine but the drop down fields are just came as Text Fields instead of combobox.
So I manually created a combobox by assigning that access table field source. But after that also in preview (F5) the combobox comes as empty dropdown. But access has the values for those combo box.
Please let me know what I am doing wrong? Or is there any workaround to arrive the dropdown list in VS form?
Awaiting for the reply,
Aug 17, 2015 01:18 AM|Angie xu - MSFT|LINK
To bind a ComboBox control, you can use code below:
private void BindComboBox()
Bind a Windows Forms ComboBox or ListBox Control to Data
Please let me know if you need any help.