title: how to get textbox value in placeholder on code behind?
body: <p>I created some textbox and I want to get their value dynamically.
  Briefly, ı explain my page:</p>
  
  <p>I have dropDown list  has number 1 to 15.When the user select number and I created textbox as selected number. 
  for example; user select 3 and I create 3 text box and user write something in textbox.
  Here is My Code:
  aspx Side:</p>
  
  <pre><code>  &lt;asp:DropDownList ID="ddlUserSelected" AutoPostBack="true" OnSelectedIndexChanged="ddlUserSelected_SelectedIndexChanged" runat="server"&gt;
   &lt;asp:PlaceHolder ID="PlaceHolder1" runat="server"&gt;&lt;/asp:PlaceHolder&gt;
   &lt;asp:Button ID="btnSave" runat="server" Text="Save" OnClick="btnSave_Click"/&gt;
  </code></pre>
  
  <p>Code Behind:</p>
  
  <pre><code>    protected void ddlUserSelected_SelectedIndexChanged(object sender, EventArgs e)
      {
       for (int a = 1; a &lt;= int.Parse(ddlUserSelected.SelectedItem.Text); a++)
              {
  
                  TextBox txtDate = new TextBox();
                  Label lbl = new Label();          
                  lbl.Text = "&lt;br/&gt;";        
                  txtDate .Width = 70;
                  txtDate .CssClass = "tbl";
                  txtDate .ID = "txtDate" + a;                  
                  PlaceHolder1.Controls.Add(txtDate);            
                  PlaceHolder1.Controls.Add(lbl);
  
              }
  }
  </code></pre>
  
  <p>And Also I have Save button.</p>
  
  <pre><code>protected void btnSave_Click(object sender, EventArgs e)
  {
  
     for (int a = 1; a &lt;= int.Parse(ddlUserSelected.SelectedItem.Text); a++)
      {              
        //I want to get each textbox value               
      }
  
  }
  </code></pre>
  
  <p>Note: for loop doesn't matter (can be removed) My main aim is get the text box value.</p>
  
  <p>How to get textbox(es) value in   <code>btnSave_Click</code> method?</p>