<%@ page language="C#" autoeventwireup="true" inherits="UploadFile_select, App_Web_y4182_ud" enableEventValidation="false" theme="theme1" stylesheettheme="theme1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>PassionCMS2.0</title>

    <script language="javascript" src="JScript.js"></script>

</head>
<body bgcolor="#4182BC">
    <form id="form1" runat="server">
        <table width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <asp:DropDownList ID="DropDownList1" AutoPostBack="true" runat="server" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td align="left">
                    <asp:FileUpload ID="FileUpload1" runat="server" SkinID="FileUpload1"/>
                    <asp:Button ID="Button1" SkinID="Button1" runat="server" OnClick="Button1_Click" Text=" 上 传 " />
                </td>
                <td align="left">
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="FileUpload1"
                        runat="server" Display="Dynamic" ErrorMessage="请选择文件!"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr height="5">
                <td>
                </td>
            </tr>
            <tr style="background-color: #F0F0F0;">
                <td colspan="10">
                    <asp:DataList ID="DataList1" BorderWidth="1" Width="100%" RepeatColumns="4" RepeatDirection="Horizontal"
                        runat="server" OnItemDataBound="DataList1_ItemDataBound">
                        <ItemStyle HorizontalAlign="Left" />
                        <ItemTemplate>
                            <div align="center">
                                <%# DataBinder.Eval(Container.DataItem, "show")%>
                            </div>
                            <div align="center">
                                <asp:Label runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Name") %>'
                                    ID="lblName"></asp:Label>
                                <asp:Label runat="server" Visible="false" Text='<%# DataBinder.Eval(Container.DataItem,"FullName") %>'
                                    ID="lblHid"></asp:Label>
                            </div>
                            <div align="center">
                                <asp:LinkButton ID="LinkButton1" runat="server">选择</asp:LinkButton>
                            </div>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
