How to retrieve dynamically created label control from Gridview
<p>I have the buttons and label boxes that are dynamically created in Grid view Template page, this is done in C#. On page load, only the buttons are visible.  When a button is clicked, I want the respective label to change its visibility to true.</p>

<p>I am unable to retrieve the control in the Gridview OnRowCommand. I already declared the following:</p>

<pre><code>lblAvailone = (Label)row.FindControl("lblFirstAvail"); 
</code></pre>

<p>Could you please tell me how I can get that label value in row command?</p>
