Hi Good Evening!
I have a doubt regarding asp.net applicaiton. The project i'm dealing is a sort of building a tiny framework.
I have an aspx page with two textboxes given the IDs respectively as tbfirstname. tbmiddlename and two buttons with ID btnSubmit to submit the input into sql server database and with ID btnAddNewTextBox to add one more textbox on the page with dynamic ID assigning to it.
Now suppose the application is running on web browser and........In firt scenario,i face no problem when inserting the first two text box vlaue into database intentionally hiding the third textbox. The entire code/login is in code behind page that is .cs file for inputting the two values into database.
In the second scenario,I click on the button btnAddNewTextBox and make the third text box visible to input the third value,. now how can i insert the third textbox value into the database by assigning dynamic id to it when the login/code written in .cs file accepts only first two textbox value and parameter?