title: cannot find checkbox control added on rowdatabound grid view even
body: <p>I have added control by</p>
  
  <pre><code>    if (e.Row.RowType == DataControlRowType.DataRow)
      {
          CheckBox chk = new CheckBox();
          chk.EnableViewState = true;
          chk.Enabled = true;
          chk.ID = "chkb";
  
  
          DataRowView dr = (DataRowView)e.Row.DataItem;
          chk.Checked = (dr[0].ToString() == "true");
  
  
          e.Row.Cells[1].Controls.Add(chk);
          e.Row.TableSection = TableRowSection.TableBody;
      }
  </code></pre>
  
  <p>and trying to find by</p>
  
  <pre><code>     if (GridView2.Rows.Count&gt;0)
      {
          foreach (GridViewRow row in GridView2.Rows)
          {
              CheckBox cb =(CheckBox) GridView2.Rows[2].Cells[1].FindControl("chkb");
              if (cb != null &amp;&amp; cb.Checked)
              {
                  Response.Write("yest");
              }
  
          }
      }
  </code></pre>
  
  <p>But i cannot find it ...
  Actually my problem is that i need to create a dynamic list.. for that i am using gridview</p>