Hi I have a gridview:
<asp:GridView ID="gridData" runat="server" AutoGenerateColumns="false" CellPadding="3" AllowSorting="true" CssClass="CartContentTable" GridLines="horizontal" Width="100%" OnDataBound="addLabelsWhereNeeded">
     <ItemTemplate>
         <asp:HiddenField ID="hdField" runat="server" Value='<%# Eval("CartItemGuid")%>' />
     </ItemTemplate>
</asp:GridView>
I want to access the value in the hidden field in my code behind. I know i need to do this when the item is bound but i cant seem to work out how to do it.
protected void addLabelsWhereNeeded(object sender, EventArgs e)
{
   // Get Value from hiddenfield
}