I have an ASPx Gridview control which displays a bunch of data. In the database, a person gender is listed as M or F. And when I display that information in the grid, it comes up as the same M or F. But I need it to display Male or Female. How can I make it so that the the result is converted to that string before displaying?
<dx:GridViewDataTextColumn FieldName="Gender" VisibleIndex="14" Caption="Patient's Gender" Width="100px" CellStyle-HorizontalAlign="Left">
</dx:GridViewDataTextColumn>
1 Answer