Click here to Skip to main content
15,895,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to hide a column when all data are same in the Database for that particular column.eg-i have a column name as Country.when all the country name are same at that time we don't visible that column and all other column should show.Please help me
Posted
Comments
joshrduncan2012 5-Apr-13 12:08pm    
Try the SELECT DISTINCT and see if you get 1 entry. If you get 1 entry, that means your column has all of the same values.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900