I have to relabel my power grid headertext. My power grid generate using autogenerated posts.i get data in Datatable and setting it to power grid. after setting to power grid i'm utilizing a function which known as after databind() also it format the power grid cells although not HeaderText.

Can anybody assist me with this problem?

 foreach (GridColumn column in grdTestCertificate.Columns)
            string[] strColumn = column.HeaderText.Split('|');
            column.HeaderText = strColumn[1];

it return counts of posts.

aah i acquired the solutions,

 foreach (GridColumn column in grdTestCertificate.MasterTableView.RenderColumns)

             column.HeaderText = "";

Point up my answer should you got your solution.