p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 2.0 Professional (http://p2p.wrox.com/forumdisplay.php?f=215)
-   -   GridView doesn't display (http://p2p.wrox.com/showthread.php?t=51014)

bnorg December 1st, 2006 02:27 PM

GridView doesn't display
 
When the resultant data object from a query doesn't have any records (but the code assigns it to the DataSource property of the GridView anyway), the GridView itself doesn't show up because there is nothing to display. Is there a property to say at least the headings should show up to present the grid no matter what?

SriRamaKrishna December 1st, 2006 10:14 PM

Hi , U can use the emptyDataTemplate.It is shown When There is no data to display.

Good Luck



All times are GMT -4. The time now is 08:07 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.