Make RequiredFieldValidator in aspx.cs (code behind) asp.net
问题 I have a TextBox where i add a number and at a buttonclick i create new textboxes depending on what number i put in my first TextBox. For example i put 5 in the TextBox and press button i get 5 new textboxes on my page. Now im trying to make a RequiredFieldValidator on all of this textboxes thats created but i can't get it to work. I have another button that makes an insert to my db and this values from all the new textboxes are required. Can someone take a look at my code to see if im on the