Link to home
Start Free TrialLog in
Avatar of sarang8180
sarang8180

asked on

How to show button in GridView when there is no data in it.

How to show button and columns in GridView when there are no rows in it.Because i cannot see any data.
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

Tip/Trick: Show Header and Footer of GridView when no Data returned.
http://geekswithblogs.net/dotNETvinz/archive/2009/03/11/tiptrick-show-header-and-footer-of-gridview-when-no-data.aspx

Solution: Show Header/Footer of Gridview with Empty Data Source
http://forums.asp.net/t/960167.aspx
You should try setting CanUserAddRows to true
ASKER CERTIFIED SOLUTION
Avatar of Monica P
Monica P
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sarang8180
sarang8180

ASKER

What is Dhaest...Where is the property called CanUserAddRows?I cannot find it
CanUserAddRows - my mistake: is for windows controls