Adding Text Box dynamically in Button Click

Shabeer50
Posted by Shabeer50 under C# category on | Points: 40 | Views : 3773
In Button Click write this code

TextBox t1 = new TextBox();
this.Controls.Add(t1); //this refers your form object

Comments or Responses

Login to post response