Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net Hide columns inn a GridView where are cells for that column are blank

Hi

In my ASP.net web app I want to load data to a GridView and hide any columns where all data is blank or null.
I know how to hide a columns in the  Row_Created event but I need to check all the data before I know that it is blank.
Should I loop through a datatable first? What would the code look like for this?


Thanks
ASKER CERTIFIED SOLUTION
Avatar of Dorababu M
Dorababu M
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 Murray Brown

ASKER

Thanks very much