Click here to Skip to main content
15,909,652 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
plz provide answer of it
my question is related to my project thus it is very important for me
Posted

Write this code on Checkbox Checked_Changed event
If chkBox.Checked = True Then
     grid.ShowHeader = True 
ELSE
     grid.ShowHeader = False
End If
 
Share this answer
 
Comments
Prerak Patel 9-Dec-10 6:13am    
or just -
grid.ShowHeader = chkBox.Checked
Hi
See This[^] once.
 
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