How do you add panel as a first row in GridView?

I have tried with the below example,but am getting panel in 2nd row..but i want in 1st row.kindly help me
Code:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
    {
        if (e.Row.RowType == DataControlRowType.DataRow)
        {
            TableCell tCell = new TableCell();
            // create image
...