SortingExpression in a GridView

This is in context to my previous post. I finally found a way to set header text at run time. I used this code

protected void gdCompany_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
e.Row.Cells[0].Text = szIssueBy;
e.Row.Cells[1].Text = szCertType;
e.Row.Cells[2].Text = szReqAuth;
e.Row.Cells[3].Text = szInstDate;
e.Row.Cells[4].Text = szExpDate;
e.Row.Cells[5].Text = szNotDate;
e.Row.Cells[6].Text = szDept;
}
}

It works but I lost my sorting expression. It is not underlined anymore and I cant sort the data without the sorting expressions. How can i solve this?

Thanks in advance
[835 byte] By [maverick786us] at [2007-11-20 11:23:40]