I'm reading information from a database and trying to format the boolean true/false as a yes/no.
Below is the code that I came up with but this is as far as I have gotten.
<asp
ataGrid id="DataGrid2" runat="server" AutoGenerateColumns="False">
<Columns>
<asp:BoundColumn DataField="JobNumber" HeaderText="Job Number"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="Complete">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Complete"
%>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp
ataGrid>
How do I format the True/False as a Yes/No? Or is there another way that I have not heard of?
TIA
Marc
Below is the code that I came up with but this is as far as I have gotten.
<asp
<Columns>
<asp:BoundColumn DataField="JobNumber" HeaderText="Job Number"></asp:BoundColumn>
<asp:TemplateColumn HeaderText="Complete">
<ItemTemplate>
<%# DataBinder.Eval(Container.DataItem, "Complete"
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
</asp
How do I format the True/False as a Yes/No? Or is there another way that I have not heard of?
TIA
Marc