protected override void OnInit(EventArgs e) { base.OnInit(e); gv.RowDataBound+=new GridViewRowEventHandler(gv_RowDataBound); } void gv_RowDataBound(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.Header) { if (e.Row.Cells.Count > 0) e.Row.Cells[0].Text = "Employee Name"; } }
Login to post response