Sometimes we need to create text boxes on runtime on button click
and store the values from runtime textboxes in Asp.net
.aspx Page------------------------------------------------------------------------
.aspx.cs Page------------------------------------------------------------------------
if (!Page.IsPostBack)
{
ViewState["NumberOfControls"] = NumberOfControls = 0;
}
else
{
this.createControls();
}