title: Problem with getting a cell value OnRowCommand in Gridview
body: <pre><code>       protected void GridView1_OnRowCommand(object sender, GridViewCommandEventArgs e)
  {
          int index = Convert.ToInt32(e.CommandArgument);
          GridViewRow row = GridView1.Rows[index];
  
          k = row.Cells[0].ToString();
          Label1.Text = k;
   }
  </code></pre>
  
  <p>I want to get a value of a particular cell in the selected row.So I tried with this but this is giving very odd result the label printing the below text</p>
  
  <pre><code>     System.Web.UI.WebControls.DataControlFieldCell.
  </code></pre>
  
  <p>Can anybody tell me how to solve my problem.</p>