title: Save Values of Dynamically created TextBoxes
body: <p>guys i am creating dynamic TextBoxes everytime a button is clicked. but once i have as many text boxes as i want.. i want to save these value Database Table.. Please guide how to save it into DB     </p>
  
  <pre><code>public void addmoreCustom_Click(object sender, EventArgs e)
  {
      if (ViewState["addmoreEdu"] != null)
      {
          myCount = (int)ViewState["addmoreEdu"];
      }
      myCount++;
      ViewState["addmoreEdu"] = myCount;
      //dynamicTextBoxes = new TextBox[myCount];
  
      for (int i = 0; i &lt; myCount; i++)
      {
          TextBox txtboxcustom = new TextBox();
          Literal newlit = new Literal();
          newlit.Text = "&lt;br /&gt;&lt;br /&gt;";
          txtboxcustom.ID = "txtBoxcustom" + i.ToString();
          myPlaceHolder.Controls.Add(txtboxcustom);
          myPlaceHolder.Controls.Add(newlit);
          dynamicTextBoxes = new TextBox[i];
      }
  }
  </code></pre>