Search code examples
asp.netgridviewlinqdatasource

How to show headings in GridView with no results


What is the best way to still show column headings on a GridView that doesn't get any records when using LINQDataSource?


Solution

  • Matt Berseth has an article in which he subclasses GridView and implements this behavior.