title: how to bind data in footer of gridview
body: <p>I have a gridview and I have to bind data in gridview as well as the footer of the gridview. I have tried many things but nothing is working. Can anyone tell me what I have to do can? I bind the gridview in the footer with the same query or I have to write diffrent query for gridview and footer. Below is my work. What I have tried I write diffrent query for both gridview and footer </p>
  
  <pre><code>System.Web.UI.WebControls.GridView grdview = ystem.Web.UI.WebControls.GridView)sender);
  Label lblenqid = (Label)e.Row.FindControl("lblenqid1");
  Label lblactualcost = (Label)grdview.FooterRow.FindControl("Label44") as Label;
  Label lblpackagecost = (Label)grdview.FooterRow.FindControl("Label42") as Label;
  Label lbldriver = (Label)grdview.FooterRow.FindControl("Label46") as Label;
  objHotel.Tour_DetailVehiclePackageCost(lblenqid.Text,
                  blactualcost,lblpackagecost,lbldriver);
  </code></pre>
  
  <p>plz help me thanks in advance</p>