title: Retrieve value from dynamically created control
body: <p>I have two dropdown lists, one for days and one for nights. I also have two buttons, one button creates dynamic textboxes where the customer can enter what they want to do in day time and in place where they want to spend night.  </p>
  
  <p>e.g., if one customer selects 4 days and 4 nights, a textbox will be created on press of the first button.</p>
  
  <p>When the user clicks the second button, I want to store all those values in database, but I noticed that on postback the fields are lost and I have no data to store.</p>
  
  <p>How do I get the values from the controls created at runtime upon postback?</p>