Hi guys,
Is there chance I do dynamically create the TextBox objects on the form by use of programming.
For example:
I use combox to offer user the selections, whose values could be 1, 2, 3, 4 etc. After user made a choice, the system can automatically generate and display the appropriate numbers of Textboxs below.
The value from each Textbox will be saved into database as an individual record.
The reason is that:
First, it can limit the number of records which will be saved into the database, basing on the users’ selection.
Second, they can share the same form interface, which are only different on the number of TextBox (objects) generated at the runtime.
Any idea and comments will be more welcome.
Thanks
Is there chance I do dynamically create the TextBox objects on the form by use of programming.
For example:
I use combox to offer user the selections, whose values could be 1, 2, 3, 4 etc. After user made a choice, the system can automatically generate and display the appropriate numbers of Textboxs below.
The value from each Textbox will be saved into database as an individual record.
The reason is that:
First, it can limit the number of records which will be saved into the database, basing on the users’ selection.
Second, they can share the same form interface, which are only different on the number of TextBox (objects) generated at the runtime.
Any idea and comments will be more welcome.
Thanks