<asp:Label id="Label1" runat="server"><%# FormatString(DataBinder.Eval(Container.DataItem,"aaa").ToString())%></asp:Label>
public string FormatString(string str)
{
if(str == "0")
str = "已售完";
else
str = "热卖中";
return str;
}