title: Find out total amout in gridview using javascript
body: <p>I want to retrieve checked total amount.  I am using itemtemplate but I am not able to retrieve total amount please help on this.</p>
  
  <pre><code>&lt;asp:GridView ID="gvTicket"  runat="server" CssClass="table" AutoGenerateColumns="false" OnRowDataBound="gvTicket_RowDataBound"&gt;
    &lt;Columns&gt;
      &lt;asp:TemplateField&gt;
        &lt;ItemTemplate&gt;
          &lt;asp:CheckBox ID="chkSelect" runat="server" /&gt;
        &lt;/ItemTemplate&gt;
      &lt;/asp:TemplateField&gt;
      &lt;asp:BoundField DataField="nCustomerPk" HeaderText="Id" /&gt;
      &lt;asp:BoundField DataField="cTicketNo" HeaderText="Ticket No" /&gt;
      &lt;asp:BoundField DataField="dBookDate" HeaderText="Book Date" /&gt;
      &lt;asp:BoundField DataField="dDepartDate" HeaderText="Dept. Date" /&gt;
      &lt;asp:BoundField DataField="bCancel" HeaderText="Cancel" /&gt;
      &lt;asp:BoundField DataField="dCancelDate" HeaderText="Cancel Date" /&gt;
      &lt;asp:BoundField DataField="nCancelCharges" HeaderText="Cancel Charge" /&gt;
      &lt;asp:BoundField  DataField="nSalesRate"  HeaderText="Amount" /&gt;
    &lt;/Columns&gt;
  &lt;/asp:GridView&gt; 
  </code></pre>