This documentation is archived and is not being maintained.
DataGrid.ShowHeader Property
.NET Framework 1.1
Gets or sets a value that indicates whether the header is displayed in the DataGrid control.
[Visual Basic] Public Overridable Property ShowHeader As Boolean [C#] public virtual bool ShowHeader {get; set;} [C++] public: __property virtual bool get_ShowHeader(); public: __property virtual void set_ShowHeader(bool); [JScript] public function get ShowHeader() : Boolean; public function set ShowHeader(Boolean);
Property Value
true to display the header; otherwise, false. The default value is true.
Remarks
Set this property to true to display the header in the DataGrid. The appearance of the header is controlled by using the HeaderStyle property.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
DataGrid Class | DataGrid Members | System.Web.UI.WebControls Namespace | HeaderStyle
Show: