Dynamically Loaded Windows Form
Posted on 2005-04-21
I have to create a form that allows the user to interact with a DB. The tricky part is that the DB fields are subject to change at any time. I have an XML file that contains details about the fields in the DB. I need to use the information in the XML file to build a form everytime the form is loaded. The components I need to be able to load are: Label, Listbox, Combobox, Checkbox, Textbox, and Date Selector.
Also, can I make this dynamic form a scrollable subform. If this is possible I don’t have to worry about positioning the components; I could just list them vertically and allow the user to scroll through them on a main form that contains all static data.