How to access a data key?
<p>I have a <code>GridView</code> with textboxes in its cells. A JavaScript function is called on changing textbox's contents. I want to pass to the function a data key of the row to which the textbox belongs, but don't know how I can do that.</p>

<p>The following gives me an error message:</p>

<pre><code> &lt;asp:TextBox ID="txtWFShipDate" runat="server"
        Text='&lt;%#Eval("StrShipDate") %&gt;' BorderStyle="None" Width="80%"
        CssClass="date"
        onchange="JSSaveWorkflowChanges(this, '&lt;%# Eval("BookStemCommon") %&gt;');"&gt;
 &lt;/asp:TextBox&gt;
</code></pre>

<p><code>BookStemCommon</code> is the data key name.</p>
