<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TaskInfo.aspx.cs" Inherits="TaksCategory" ValidateRequest="false" %>
<%@Register TagPrefix="dntb" Namespace="DotNetTextBox" Assembly="DotNetTextBox"%>
<html  xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
    <link href="../css/neiye.css" rel="stylesheet" type="text/css" />
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="D:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
    <link href="d:\david\web\web\Contract\ms_design-pk_dgasp_cn/./system_dntb/skin/xp/toolbar.css"
        rel="stylesheet" type="text/css" />
</head>
<body style="padding-right: 0px; padding-left: 0px; padding-bottom: 0px; margin: 0px; clip: rect(0px 0px 0px 0px); padding-top: 0px">
    <form id="form" runat="server" action="" method="post"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tw" >
  <tr>
    <td style="height: 6px"><strong>您当前操作： </strong>
        <asp:LinkButton ID="N0" runat="server" ForeColor="Black" OnClick="N0_Click" Font-Bold="True">任务管理</asp:LinkButton>
        &nbsp;<asp:LinkButton ID="N1" runat="server" OnClick="N1_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N2" runat="server" OnClick="N2_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N3" runat="server" OnClick="N3_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N4" runat="server" OnClick="N4_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>
        <asp:LinkButton ID="N5" runat="server" OnClick="N5_Click" Visible="False" Font-Bold="True">LinkButton</asp:LinkButton>&nbsp;&nbsp;
    </td>
  </tr>
</table>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Panel ID="Panel2" runat="server" Height="82px" HorizontalAlign="Center"
            Visible="False" Width="100%" CssClass="editbox">
            <br />
            <table border="0" cellpadding="1" cellspacing="0" style="width: 80%; background-color: dimgray">
                <tr>
                    <td style="height: 16px;" align="center">
                        <table style="background-color: gainsboro" width="100%">
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                </td>
                                <td style="width: 320px; height: 25px">
                                    <strong>修改任务</strong></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    主题</td>
                                <td style="height: 25px">
                                    <asp:TextBox ID="ESubject" runat="server" Width="413px">0</asp:TextBox>
                                    <asp:TextBox ID="EID" runat="server" Visible="False" Width="43px">0</asp:TextBox>
                                    <asp:TextBox ID="EUID" runat="server" ReadOnly="True" Visible="False" Width="43px">0</asp:TextBox>
                                    <asp:LinkButton ID="LinkButton6" runat="server" CssClass="btn" OnClick="LinkButton6_Click1">返回</asp:LinkButton></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px;">
                                    &nbsp;类别名称</td>
                                <td style="height: 25px;">
                                    <asp:TextBox ID="ECategory" runat="server" ReadOnly="True"></asp:TextBox>
        <asp:Button ID="Button2" runat="server" Text="移动组" Visible="False" OnClick="Button2_Click" /></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 24px">
                                    金额</td>
                                <td style="height: 24px">
                                    <asp:TextBox ID="EMoney" runat="server" ReadOnly="True" Width="43px">0</asp:TextBox></td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 24px" valign="baseline">
                                    附件</td>
                                <td style="height: 24px">
                                    <asp:Panel ID="UploadFilePanel" runat="server" Height="30px" Width="100%">
                                        &nbsp;<asp:FileUpload ID="TaksFileUpload1" runat="server" />
                                        <asp:LinkButton ID="UploadFileKey" runat="server" CausesValidation="False" CssClass="btn"
                                            OnClick="UploadFileKey_Click" Width="100px">文件上传</asp:LinkButton>
                                        <asp:Label ID="UploadMaxFileText" runat="server" ForeColor="Gray" Text="Label"></asp:Label></asp:Panel>
                                    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                        <ContentTemplate>
                                            <asp:Label ID="UploadTaksAccMessage" runat="server" Visible="False"></asp:Label>
                                            <asp:GridView ID="EGridView1" runat="server" AutoGenerateColumns="False" OnRowCreated="EGridView1_RowCreated"
                                                OnRowDeleting="EGridView1_RowDeleting" PageSize="2">
                                                <Columns>
                                                    <asp:BoundField DataField="id">
                                                        <ItemStyle Width="30px" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="filename">
                                                        <ItemStyle Width="100px" />
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:TemplateField HeaderText="文件">
                                                        <ItemStyle HorizontalAlign="Center" Width="300px" />
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                        <ItemTemplate>
                                                            &nbsp;<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# FilePath(Eval("filename").ToString()) %>'
                                                                Target="_blank" Text='<%# Bind("filename") %>'></asp:HyperLink>
                                                        </ItemTemplate>
                                                    </asp:TemplateField>
                                                    <asp:BoundField DataField="filesize" HeaderText="字节数">
                                                        <ItemStyle HorizontalAlign="Center" Width="60px" />
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:BoundField DataField="FileAtt" HeaderText="文件类型">
                                                        <ItemStyle HorizontalAlign="Center" Width="64px" />
                                                        <HeaderStyle HorizontalAlign="Center" />
                                                    </asp:BoundField>
                                                    <asp:CommandField ShowDeleteButton="True" />
                                                </Columns>
                                            </asp:GridView>
                                        </ContentTemplate>
                                        <Triggers>
                                            <asp:PostBackTrigger ControlID="EGridView1" />
                                        </Triggers>
                                    </asp:UpdatePanel>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 7px">
                                    结束日期</td>
                                <td style="height: 7px">
                                    &nbsp;<asp:TextBox ID="EEDT" runat="server"></asp:TextBox>
                                    <ajaxToolkit:CalendarExtender ID="CalendarExtender1" runat="server" TargetControlID="EEDT">
                                    </ajaxToolkit:CalendarExtender>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 153px;">
                                    任务说明</td>
                                <td style="height: 153px;">
                                    <dntb:webeditor id="Content" runat="server" skin="skin/xp/" width="600px" systemFolder="./system_dntb/"></dntb:webeditor>
                                    </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 101px; height: 25px">
                                    </td>
                                <td style="width: 320px; height: 25px">
                                    &nbsp;
                                    <asp:LinkButton ID="EditCategoryKey" runat="server" CssClass="btn" Height="20px"
                                        OnClick="EditCategoryKey_Click" Width="102px">确定修改</asp:LinkButton>
                                    <asp:LinkButton ID="LinkButton9" runat="server" CssClass="btn" OnClick="LinkButton6_Click1">返回</asp:LinkButton></td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            &nbsp;</asp:Panel>
        <asp:Panel ID="Panel1" runat="server" Height="50px" HorizontalAlign="Center" Visible="False"
            Width="100%">
            <br />
            请选择要移入的目标组
            <asp:DropDownList ID="DDL1" runat="server" AutoPostBack="True" CssClass="input1"
                OnSelectedIndexChanged="DDL1_SelectedIndexChanged">
            </asp:DropDownList><asp:DropDownList ID="DDL2" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL2_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL3" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL3_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL4" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL4_SelectedIndexChanged" Visible="False">
            </asp:DropDownList><asp:DropDownList ID="DDL5" runat="server" AutoPostBack="True"
                CssClass="input1" OnSelectedIndexChanged="DDL5_SelectedIndexChanged" Visible="False">
            </asp:DropDownList>
            <asp:LinkButton ID="LinkButton3" runat="server" CssClass="btn" OnClick="LinkButton3_Click">确定转移</asp:LinkButton>
            <asp:LinkButton ID="LinkButton5" runat="server" CssClass="btn">增加类别</asp:LinkButton>
            <asp:LinkButton ID="LinkButton4" runat="server" CssClass="btn" OnClick="LinkButton4_Click">返回</asp:LinkButton><br />
        </asp:Panel>
        <asp:Panel ID="Panel3" runat="server" Height="50px" HorizontalAlign="Center" Visible="False"
            Width="100%">
            <br />
            <asp:TextBox ID="DelID" runat="server" Visible="False" Width="31px"></asp:TextBox>你真的要删除
            <asp:Label ID="Label1" runat="server" ForeColor="#C00000" Text="Label"></asp:Label>
            吗？<asp:LinkButton ID="LinkButton1" runat="server" CssClass="btn" OnClick="LinkButton1_Click">删除</asp:LinkButton>
            <asp:Label ID="DELMessage" runat="server" ForeColor="Red"></asp:Label>
            <asp:LinkButton ID="LinkButton2" runat="server" CssClass="btn" OnClick="LinkButton2_Click">不删除并返回</asp:LinkButton>
            <asp:Label ID="Message" runat="server" ForeColor="Red"></asp:Label></asp:Panel>
        <asp:GridView ID="GridView1" runat="server" Width="100%" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" OnSelectedIndexChanging="GridView1_SelectedIndexChanging" OnRowEditing="GridView1_RowEditing" OnRowCreated="GridView1_RowCreated" OnRowDeleting="GridView1_RowDeleting" OnRowCommand="GridView1_RowCommand" OnRowDataBound="GridView1_RowDataBound" AllowPaging="True" OnRowUpdated="GridView1_RowUpdated" OnPageIndexChanging="GridView1_PageIndexChanging">
            <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <Columns>
                <asp:BoundField DataField="id">
                    <ItemStyle ForeColor="Silver" HorizontalAlign="Center" Width="32px" />
                    <HeaderStyle Width="0px" />
                </asp:BoundField>
                <asp:TemplateField HeaderText="状态">
                    <ItemStyle HorizontalAlign="Center" Width="32px" />
                    <HeaderStyle ForeColor="White" />
                    <ItemTemplate>
                        <asp:Image ID="Image1" runat="server" Height="32px" ImageUrl='<%# STA(Eval("isopen").ToString(),Eval("finish").ToString()) %>'
                            Width="32px" />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="subject" HeaderText="主题">
                    <ItemStyle BorderColor="#C0FFFF" HorizontalAlign="Center" Width="300px" />
                    <HeaderStyle BorderColor="White" ForeColor="White" />
                </asp:BoundField>
                <asp:BoundField DataField="category" HeaderText="类别">
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                    <HeaderStyle ForeColor="White" HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="pnum" HeaderText="投稿数">
                    <ItemStyle HorizontalAlign="Center" Width="64px" />
                    <HeaderStyle ForeColor="White" HorizontalAlign="Center" />
                </asp:BoundField>
                <asp:BoundField DataField="money" HeaderText="金额">
                    <ItemStyle HorizontalAlign="Center" Width="90px" />
                    <HeaderStyle ForeColor="White" />
                </asp:BoundField>
                <asp:BoundField DataField="sdt" HeaderText="发布日期">
                    <HeaderStyle ForeColor="White" />
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                </asp:BoundField>
                <asp:BoundField DataField="edt" HeaderText="截稿期">
                    <ItemStyle HorizontalAlign="Center" Width="100px" />
                    <HeaderStyle ForeColor="White" />
                </asp:BoundField>
                <asp:CommandField ButtonType="Button" InsertVisible="False" ShowCancelButton="False"
                    ShowEditButton="True">
                    <HeaderStyle Width="30px" />
                    <ItemStyle Width="30px" />
                </asp:CommandField>
                <asp:CommandField ButtonType="Button" ShowDeleteButton="True">
                    <ItemStyle Width="30px" />
                </asp:CommandField>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:Button ID="Button1" runat="server" CausesValidation="False" CommandArgument='<%# FINISH(Eval("id").ToString(),"Value") %>'
                            CommandName='<%# FINISH(Eval("finish").ToString(),"Key") %>' Text='<%# FINISH(Eval("finish").ToString(),"Text") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField ShowHeader="False">
                    <ItemTemplate>
                        <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" CommandArgument='<%# ISOPEN(Eval("id").ToString(),"Value") %>'
                            CommandName='<%# ISOPEN(Eval("isopen").ToString(),"Key") %>' CssClass="btn" Text='<%# ISOPEN(Eval("isopen").ToString(),"Text") %>'
                            Width="123px"></asp:LinkButton>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <EditRowStyle BackColor="#2461BF" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <PagerStyle ForeColor="Black" HorizontalAlign="Center" BorderStyle="None" />
            <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <AlternatingRowStyle BackColor="White" />
            <PagerSettings FirstPageText="第一页" LastPageText="最后一页" Mode="NumericFirstLast" />
        </asp:GridView>
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
        &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
        &nbsp; &nbsp; &nbsp;&nbsp;
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="set">
  <tr>
    <td style="height: 41px">&nbsp;</td>
  </tr>
</table>
</form>

</body>
</html>
