title: Adding Control to Gridview Cell
body: <p>I want to add a button on GridView cell on certain condition.
  I did the following in RowDatabound event</p>
  
  <pre><code>if( i==0)
  {
     Button btn= new Button();
     btn.Text = "view more";        
     e.Row.Cells[7].Controls.Add(btn);
  }
  </code></pre>
  
  <p>When this executes, the text in the cell which is bound is lost and only the button appears.
  I need to have the button along with the cell text present already.</p>
  
  <p>Can anyone please help me doing this?</p>