How to change the Header Text of Gridview after Databound?
问题 I have a gridview I bound a DataTable with that Gridview Its dynamic so no hardcode Text in desin. I tried to change it after Databound and in PreRender of gridview but no Success. Actually there are Underscores('_') in text and I want to Replace it with space. Below is code <asp:GridView ID="grdSearchResult" runat="server" AutoGenerateColumns="True" Width="99%" OnPreRender="grdSearchResult_PreRender" OnRowCreated="grdSearchResult_OnRowCreated" OnPageIndexChanging="grdSearchResult