What is the best way to still show column headings on a GridView that doesn't get any records when using LINQDataSource?
+1
A:
The easiest way I can think of off the top of my head would be to fake it in the EmptyDataTemplate.
Past that you could add a new header row one of the DataBound events.
rball
2009-06-11 17:24:03
+2
A:
Matt Berseth has an article in which he subclasses GridView and implements this behavior.
Matthew Jones
2009-06-11 17:27:10