louis Tunde

louis Tunde

  • 1.7k
  • 257
  • 45.5k

Dynamic Textbox

Aug 17 2018 11:18 AM
Hello All,

I have this situation.

1. I have one Text box (say first) and add button.
2. If i click add, one text box should be added + one delete button.
3. if i click add again, second text box should be added + one delete button.
and so on..
4. on clicking any delete button, the corresponding text box should get deleted.
5. The add button should be for only first text box.
6. The information should be submitted to a database

Please provide me code for this.
or only for adding textboxes, i am new to ASP.Net C#.

Thanks a lot.

Brought to you by: JavaScript SDK for Bold BI dashboard and analytics embedding. Free trial.

Answers (3)