<asp:TemplateField HeaderText="Amount"> <itemtemplate> <asp:Label ID="lblPackAmount" runat="server" Text='<%#Eval("PackageAmount")%>' </itemtemplate>
If it's a BoundField you could do gv.Rows[1].Cells[1].Text; If it's a TemplateField, you have to get the control that has the value you want. Label L = gv.Rows[1].FindControl("yourcontrolId") as Label; L.Text;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)