<asp:BoundField DataField="AgentPK" HeaderText="AgentPK" Visible="False" />When looping through the rows in the grid I want to check what value this column has. How do I refer to it?
<ItemTemplate> <mm:mmCheckBox ID="chkSelector" runat="server" Text="" /> </ItemTemplate>Then I can refer to it like this:
CheckBox cb = (CheckBox)(row.FindControl("chkSelector"))
Do I need to use an ItemTemplate in order to get the value of my AgentPK field?