Click here to Skip to main content
16,018,092 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using case expression to display data in gridview for that i havent used bound fields in gridview and set autogenerated columns to true, all columns are fetching by case expression in select query. But i want to hide one column so how to hide it??
Posted
Updated 21-Mar-13 18:58pm
v2

An if condition has been used here[^] - but you can just replace it with case statements.
 
Share this answer
 
You have bind all the column to gridView, which your getting from select query. After binding hide the column which you want .
 
Share this answer
 

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