Click here to Skip to main content
15,915,975 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Pls some one tell that how to change the value of gridview at run time, like in database table department column has the values HR, IT, MD

but i need to show data in gridview at run time which convert the HR to Human resource, IT to Information Technology and MD to Managing Director.


Pls spme one tell that how to change table colimn values to another way, Pls anyone help me to solve this....
Posted
Comments
Richard C Bishop 23-Sep-13 12:17pm    
How are you populating the GridView?
TryAndSucceed 23-Sep-13 12:55pm    
If you are populating the grid dynamically, then you check for the column value and replace it with new values.

1 solution

you can set the display name of your grid column to the name you want to show to the user and use the exact column name to bind that column with the database column.
 
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