Removing the datagrid header.....

Discussion in 'ASP .Net Datagrid Control' started by Ram, Apr 12, 2004.

  1. Ram

    Ram Guest

    How to remove the datagrid header display ? Which property I should change ?
    Thanks
     
    Ram, Apr 12, 2004
    #1
    1. Advertising

  2. Hi Ram,

    In the .aspx file:

    ShowHeader="False"

    as in

    <asp:DataGrid id="DataGrid1" runat="server" AutoGenerateColumns="False"
    ShowHeader="False">

    or in code like this:

    DataGrid1.ShowHeader = False

    http://msdn.microsoft.com/library/d...uiwebcontrolsdatagridclassshowheadertopic.asp

    Ken
    Microsoft MVP [ASP.NET]

    "Ram" <> wrote in message
    news:...
    > How to remove the datagrid header display ? Which property I should change
    > ?
    > Thanks
    >
    >
    >
    >
     
    Ken Cox [Microsoft MVP], Apr 12, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Karl Seguin

    firewalls "removing bogus header"

    Karl Seguin, Feb 10, 2004, in forum: ASP .Net
    Replies:
    4
    Views:
    1,414
    George Ter-Saakov
    Feb 10, 2004
  2. Chris  Chiasson
    Replies:
    6
    Views:
    635
    Richard Tobin
    Nov 14, 2006
  3. mlt
    Replies:
    2
    Views:
    881
    Jean-Marc Bourguet
    Jan 31, 2009
  4. Henrik
    Replies:
    1
    Views:
    442
    Ken Cox [Microsoft MVP]
    Jul 6, 2006
  5. datagrid having row header and column header

    , Jul 13, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    187
Loading...

Share This Page