62,074
社区成员
发帖
与我相关
我的任务
分享
<asp:TemplateField HeaderText="类型" >
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# Eval("TypeId").ToString()=="3" ? Eval("字段2").ToString():"2" ? Eval("字段1").ToString():"1"?Eval("字段1").ToString():"" %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>