Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to hide and unhide columns of a Gridview in asp.net at run time ?
Posted
Updated 28-Aug-11 16:24pm
v3

Well Have you explored GridView.Column and GridView.Cells Properties. That's the two thing you need to look into.
Very Nice Article in Code Project Show / Hide GridView Columns in ASP.NET[^]]
Hope this answer your question.
 
Share this answer
 
Comments
Sachin gulati 28-Aug-11 22:33pm    
thanx for answering....
it will help me a lot.... :)
Abhijit Jana 28-Aug-11 22:55pm    
Thanks. If this answers your question mark it resolved / Answered so that others can take reference from that.
Code to hide grid view first column

Gridview.Columns[0].Visible = false;
 
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