Click here to Skip to main content
15,905,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have database and I have inserted some value into it. Now I want that inserted values as my gridview header text. I have no idea how to do.. please help. thank u..
Posted

1 solution

set the ColumnName of the Gridview or datatable

gv.Columns[0].HeaderText = "HeaderText";
 
Share this answer
 
Comments
Dhanashree Dive 1-Apr-13 2:20am    
so can I put headertext as my database value ?
mr.priyank 1-Apr-13 2:23am    
Yes
Dhanashree Dive 1-Apr-13 2:25am    
ok.. thank you..

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