Click here to Skip to main content
15,895,746 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i have created a web page in asp.net C#, i put a gridview in it and import some specified data from db table in that grid view. but i want to change the header names of all the colms of gridview programatically. please tell me how to do this.
thanks in advance
Posted

1 solution

Please see this link
http://justgeeks.blogspot.in/2011/05/programmatically-setting-header-on.html[^]
where, code is given to set the GridView headers programmatically.
 
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