I have a mysql database that I am using my Windows form application to view and fill data in.
I'm running into a problem when I try to use binding sources in a user control. All I'm doing is clicking and dragging a label from the data sources toolbar.
When I run the program, the label can't reference the fields in my database. The correct data sources are displayed at the bottom of the design view and in the Designer code.
But, when I do the same thing in the form, it works perfectly well.
What changes between the form data binding and the user control data binding? I've tried digging in the Designer code, creating an entirely new project so I don't have any messy code in the way.
Edit: The article, Walkthrough: Creating a Windows Form user control that supports simple data binding makes it look like I can simply drag an drop on the user control, no question asked. However, this does not work for me