title: How to change the color of last row of GridView
body: <p>I have created one webpage in ASP.NET with c#. I have taken one <code>GridView</code>.
  I want to change or highlight the color of last row of <code>GridView</code>.</p>
  
  <p>Please Refer below code :-</p>
  
  <pre><code>protected void Page_Load(object sender, EventArgs e)
  {
      DataSet ds = new DataSet();
      OracleConnection con = new OracleConnection("Data Source=10.31.41.103/ORCL;User ID=RL_PET;Password=RL_PET;Unicode=True");
      con.Open();
      OracleDataAdapter a = new OracleDataAdapter("SELECT NVL(MERGE,'GRAND_TOTAL') AS MERGE, COUNT(PALLET_NO) AS Total_Pallets , SUM(NET_WT) AS Net_Weight , SUM(GROSS_WT) AS Gross_Weight FROM WI_PALLET WHERE DATA_STS IN (2,3) AND TRANS_TYPE = 'P' GROUP BY ROLLUP (MERGE)", con);
      a.Fill(ds);
      GridView1.DataSource = ds;
      GridView1.DataBind();
      GridView1.Visible = true;
      con.Close();
  }
  
  protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
  {
      if (e.Row.RowType == DataControlRowType.DataRow)
      {
  
  
  
       }   
  }
  </code></pre>