<p>I have a ASP.NET <code>GridView</code> with a column mapped to a boolean. I want do display "Yes"/"No" instead of "True"/"False". Well actually I want "Ja"/"Nej" (in Danish).</p>

<p>Is this possible? </p>

<pre><code>&lt;asp:gridview id="GridView1" runat="server" autogeneratecolumns="false"&gt;
    &lt;columns&gt;
        ...
        &lt;asp:boundfield headertext="Active" datafield="Active" dataformatstring="{0:Yes/No}" /&gt;
        ...
    &lt;/columns&gt;
&lt;/asp:gridview&gt;
</code></pre>

Nope - but you could use a template column:
```
```
<script runat="server">
  TResult Eval<T, TResult>(string field, Func<T, TResult> converter) {
     object o = DataBinder.Eval(Container.DataItem, field);
     if (converter == null) {
        return (TResult)o;
     }
     return converter((T)o);
  }
</script>

<asp:TemplateField>
  <ItemTemplate>
     <%# Eval<bool, string>("Active", b => b ? "Yes" : "No") %>
  </ItemTemplate>
</asp:TemplateField>
```
```