title: How to delete dynamically created textbox in asp.net
body: <p>I  have created the code for adding textbox but I do not know to delete the added textbox.</p>
  
  <p>share me how to remove textbox;</p>
  
  <pre><code>counter ++; 
  TextBox tb = new TextBox(); 
  tb.ID = "TextBox" +counter; 
  LiteralControl lineBreak = new LiteralControl(); 
  PlaceHolder1.Controls.Add(tb); PlaceHolder1.Controls.Add(lineBreak);   
  controlIdList.Add(tb.ID); 
  ViewState["controlIdList"] = controlIdList;
  </code></pre>