<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TaskWhereHomeList.ascx.cs" Inherits="TaskList" %>
<asp:DataList ID="DataList1" runat="server" OnItemDataBound="DataList1_ItemDataBound"
    RepeatColumns="2" Width="95%">
    <ItemTemplate><div>
                <table width="100%" style="padding-left:50px;">
                    <tr>
                        <td rowspan="2" style="width: 15%">
                            <asp:HyperLink ID="TaskViewHyperLink2" runat="server" CssClass='<%# CategoryMoneyBK(Eval("money").ToString()) %>'
                                NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>' Text='<%# CategoryMoneyText(Eval("cid").ToString(),Eval("money").ToString()) %>'
                                Width="80px"></asp:HyperLink></td>
                        <td rowspan="2" style="width: 5%">
                        </td>
                        <td style="width: 80%; color: #a9a9a9;" align="left">
                            <asp:HyperLink ID="Subject" runat="server" Text='<%# SUBJECT(Eval("id").ToString(),Eval("subject").ToString(),Eval("sdt").ToString(),Eval("edt").ToString()) %>' NavigateUrl='<%# TASKVIEWURL(Eval("id").ToString()) %>'></asp:HyperLink></td>
                    </tr>
                    <tr>
                        <td style="width: 80%; height: 8px;" align="left">
                            <span
                                style="color: darkgray">&nbsp;剩余(</span><asp:Label ID="Label2" runat="server" Text='<%# SURPLUS(Eval("sdt").ToString(),Eval("edt").ToString()) %>' ForeColor="#C00000"></asp:Label><span
                                        style="color: darkgray">)
                            | </span><span
                                style="color: darkgray">
                            (</span><asp:Label ID="Label5" runat="server" Text='<%# STATE(Eval("finish").ToString()) %>' ForeColor="#FF8000"></asp:Label><span style="color: darkgray">)
                                        </span>
                            </td>
                    </tr>
                    <tr>
                        <td rowspan="1" style="width: 15%">
                        </td>
                        <td rowspan="1" style="width: 5%">
                        </td>
                        <td align="left" style="width: 80%; height: 8px">
                        </td>
                    </tr>
                </table></div>
    </ItemTemplate>
</asp:DataList>
