How to display datagrid with header when there is no data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • arunkumaryespee
    New Member
    • Sep 2007
    • 1

    How to display datagrid with header when there is no data

    Hii

    i have a problem in display a empty datagrid with header during page_load().
    actually i use the datagrid for searching purpose. During the page load i want to display an empty grid with header. After the search button gets clicked, the dataset data should filled in the datagrid.
    Thank you
  • jhardman
    Recognized Expert Specialist
    • Jan 2007
    • 3405

    #2
    moved to .NET forum

    Comment

    • Shashi Sadasivan
      Recognized Expert Top Contributor
      • Aug 2007
      • 1435

      #3
      Originally posted by arunkumaryespee
      Hii

      i have a problem in display a empty datagrid with header during page_load().
      actually i use the datagrid for searching purpose. During the page load i want to display an empty grid with header. After the search button gets clicked, the dataset data should filled in the datagrid.
      Thank you
      Have you tried using !isPagePostBack ?

      Comment

      Working...