title: getting the content from textbox in asp.net using c#
body: <p>I have created two dynamic textboxes. like this...</p>
  
  <pre><code>protected void Button2_Click(object sender, EventArgs e)
      {
          TextBox1 = new TextBox();
          TextBox1.ID = "TextBox1";
          TextBox1.Style["Position"] = "Absolute";
          TextBox1.Style["Top"] = "25px";
          TextBox1.Style["Left"] = "100px";
  
          Panel1.Controls.Add(TextBox1);
  
          TextBox2 = new TextBox();
          TextBox2.ID = "TextBox2";
          TextBox2.Style["Position"] = "Absolute";
          TextBox2.Style["Top"] = "60px";
          TextBox2.Style["Left"] = "100px";
          Panel1.Controls.Add(TextBox2);
         //this.TextBox1.TextChanged += new System.EventHandler(this.TextBox_TextChanged);
         //this.TextBox2.TextChanged += new System.EventHandler(this.TextBox_TextChanged);
  
              }
  
  now, i want to retrieve the content from the textboxes. please tell immediately how to do this .
  </code></pre>