To do this, put the name cssClass in the header element in the RowDataBound event like this, and assign a background image to css.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
foreach (TableCell c in e.Row.Cells)
{
c.CssClass = "bgimage";
}
}
}
CSS
.bgimage{ background-image:url(images/arrow-red-large-down.gif);
user209875