c# .net Adsense ADO.NET Linq Viruses/security asp.net MVC JQuery Angular-js Node-js SEO Java C++ SQL API Networking vb.net .Net Css JavaScript Generics c#.Net entity framework HTML Website host Website Construction Guide HTTP tutorial W3C tutorial Web Services JSON Psychology Ionic framework Angular ReactJS Python Computer Android
c# .net

How to visible Header in gridview using c# .net?

| | ASP , ASP-NET , CSharp

 In this articles describes how to visible Header columns in gridview. Here I have use ShowHeader Property to visible Header columns either true or false. 

 In client side(Default.aspx)

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" DataKeyNames="Id" OnRowCommand="GridView1_RowCommand" BorderWidth="1px" ShowHeader="true">
</asp:GridView>