0
我有一个显示一堆数据的ASPx Gridview控件。在数据库中,人的性别被列为M或F.当我在网格中显示该信息时,它会以相同的M或F出现,但我需要它显示男性或女性。我怎样才能让结果在显示之前转换为该字符串?SQL和DevExpress ASPx网格数据(显示数据'M'为'男性')
<dx:GridViewDataTextColumn FieldName="Gender" VisibleIndex="14" Caption="Patient's Gender" Width="100px" CellStyle-HorizontalAlign="Left">
</dx:GridViewDataTextColumn>
什么内部\t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t \t DX:GridViewDataTextColumn> –
Musaab
2011-05-30 13:57:58
你必须让列模板字段,然后把标签像什么,我已经把答案。 – 2011-05-30 14:01:55