title: gridview display the text instead of values
body: <p>my question is:</p>
  
  <p>my table consists of this values: <code>0, 1, 2 3</code> </p>
  
  <p>but when the gridview loads i want the text to be display instead of just those numbers.</p>
  
  <pre><code>0 = not set, 1 = low, 2 = medium, 3 = high
  </code></pre>
  
  <p>i could have done this like if/else condition but i just wanted to seek for a optimized sol.</p>
  
  <p>here is my markup gridview:</p>
  
  <pre><code>&lt;asp:TemplateField  HeaderText="Priority" SortExpression="Priority" &gt;
  &lt;ItemTemplate&gt;
   &lt;asp:Label ID="lblPriority" Text='&lt;%# DataBinder.Eval(Container.DataItem,"Priority")%&gt;' runat="server" /&gt;
   &lt;/ItemTemplate&gt;
  </code></pre>