Click here to Skip to main content
15,890,557 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
This Problem when I want to change the header text for gridview by code
but the first no change for the header text and when click another time the header text changed
I dont why happen that
Posted
Comments
Sandeep Mewara 27-Dec-10 6:46am    
Share across the code base with us.
yaprig 27-Dec-10 6:48am    
you must mention that code so that it will be easy to find bug..

1 solution

Try this :
MIDL
GridView01.Columns[0].HeaderText = "HeaderName";
 
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