<asp:TemplateField HeaderText="维修状态" >
<HeaderStyle Width="120px" Font-Bold="False" />
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%#Eval("repaStatus")%>'
ForeColor='<%# Convert.ToBoolean(Convert.ToInt32(Eval("isrepaStatus")))?System.Drawing.Color.FromArgb(0,0,102):System.Drawing.Color.Red%>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>