I have a Gridview which is having 2 columns : plan value and actual value.
I am getting data from a table. I need to display up or down arrow image in 2nd column (after the value) based on the values as shown below :
| plan | actual |
| 40 | 50 ^ |
That is if actual > plan then show up arrow after value in actual column down arrow in opposite case.
How can I achieve this ?
Try this:
Add template field:
C# Code: