title: how to add a textchanged event to a textbox in the code-behind
body: <p>i created a text-box through the code behind but was unable to add a text-changed event to it
  here is what i</p>
  
  <pre><code> protected void insert(object sender, EventArgs e) 
  {
  
  }
  
  protected void update(object sender, DayRenderEventArgs e) 
  {
      TextBox tb = new TextBox();
      tb.TextChanged += "insert";
  
      e.Cell.Controls.Add(tb);
  
  }
  </code></pre>
  
  <p>i tried this but it didn't work for me.
  what is the problem, thanks</p>