Hi ,
Try this ,
If you are autogenerating columns, then you will have to change the name
of the value that is being databound. This is simple if you have a sql
datasource, just alias your columns in your select statement. If you
have explicit columns being created, then
use the headerText attribute to change it to whatever you want.
<asp:GridView ID="gvMain" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:BoundField DataField="Books_ID" HeaderText="Book Id" />
<asp:BoundField DataField="Text_No" HeaderText="Text No" />
</Columns>
</asp:GridView>