Finding controls in gridview? In Asp.net?
<p>In web applicatiom i am trying to find grid controls in RowDataBound event. But it is giving object reference to instance of an object, this is my code :</p>

<pre><code>     protected void mygrid_RowDataBound(object sender, GridViewRowEventArgs e)
          {

                 string empid = "";         

                 empid = ((Label)e.Row .FindControl("lblname")).Text;
           }
</code></pre>

<p>Can you hlep me please to find the control, thank you.</p>
