I have been look desparately for a code behind example which dynamically generates controls via a separate class. I have been able to do some of it; however, I don't understand how to initiate my class to work during the life of the form, as what I would like to do is have a series of controls that are optional, and allow a user to "add another row of control options" via a button press. Eventually he will hit the submit button and a complex query will be played on a DB built from the possible many rows of controls.
Anyone have any examples / tutorials on this? I guess just initialization of a class for a webform's lifespan (with re-initializing it) would aid me as well.
Anyone have any examples / tutorials on this? I guess just initialization of a class for a webform's lifespan (with re-initializing it) would aid me as well.