VB.NET - Steps to add a control to a form at run time

Steps to add a control to a form at run time.

1. create and initialize a control.
2. provide an id to the control.
3. add the control to the page's control collection.

Example:
Dim abc as new Textbox
abcd.id="txtBox1"
me.controls.add abc
VB.NET - Explain how to retrieve information from the configuration file at run time.
Retrieve information from the configuration file at run time
VB.NET - What do you understand by side-by-site execution of assembly?
What do you understand by side-by-site execution of assembly? - Side by side execution refers to running/execution of different versions of the same assembly at the same time on the same machine.......
VB.NET - How do you create a resource-only assembly?
How do you create a resource-only assembly? - One should create a resource only assembly if you need to update the resources frequently without recompiling the whole solution......
Post your comment