there are two ways of doing things.
1. In the CodeBehind in datagrid - ItemDatabound event
You would reference there and set the Cell Text in code.
2. Would using the asp method.
<# iif(Databinder.Eval(Conatiner.DataItem, "Price") > 20, "Regular", "Size") %#>
Let me know i would be glad to help you out