I am dynamically creating TextBoxes onto an ASPX page and I need to store the data from these textboxes into a SQL database when a "Save" button is clicked. The problem is that when I click the button a postback event occurs before the code in the click event. During the postback all of the TextBoxes need to be recreated since they are dynamic and the data gets wiped out. I have looked into order of events but nothing seems to work. I am using C# as the language for the page.