Gridview row update problem with text box
<p>I have one gridview. The grid view does not update the text box value -- whenever I click update, it takes my old text box value only.</p>

<p>This is my C# code:</p>

<pre><code>TextBox txtqty = (TextBox)productGridView.Rows[e.RowIndex].Cells[0].FindControl("txtQty");
int qty = Convert.ToInt32(txtqty.Text.Trim());
</code></pre>

<p>If anyone could provide some assistance, I would appreciate it.</p>
