private void gridView1_CustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e)
{
if (e.Column.FieldName == "sfFlag")
{
if (Convert.ToDecimal(e.Value) == 0) e.DisplayText = "收费";
if (Convert.ToDecimal(e.Value) == 1) e.DisplayText = "退费";
}
else
{
if (e.DisplayText == "0.00" || e.DisplayText == "0.0000")
{
if (Convert.ToDecimal(e.Value) == 0) e.DisplayText = "";
}
}
}