file_add.aspx
资源名称:web.rar [点击查看]
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:3k
源码类别:
OA系统
开发平台:
ASP/ASPX
- <%@ Page Language="C#" AutoEventWireup="true" CodeFile="file_add.aspx.cs" Inherits="web_regulation_file_add" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/asp:TableRow/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" >
- <head runat="server">
- <title>无标题页</title>
- <link href="../../css/style.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <form id="form1" runat="server">
- <div>
- <center>
- </center>
- <center>
- <asp:Panel ID="pnlAddFile" runat="server" Style="position: relative">
- <asp:Label ID="Label2" runat="server" Font-Bold="True" Font-Size="Medium" Style="position: relative"
- Text="添加新檔案"></asp:Label><br />
- <asp:Table runat="server" ID="Tbl">
- <asp:TableRow>
- <asp:TableCell BorderWidth="1px">
- <asp:Label ID="Label1" runat="server" Text="檔案目錄"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="left">
- <asp:Label ID="LblFileDir" runat="server" Text=" "></asp:Label>
- </asp:TableCell>
- </asp:TableRow>
- <asp:TableRow>
- <asp:TableCell BorderWidth="1px">
- <asp:Label ID="LblFile" runat="server" Text="檔案"></asp:Label>
- </asp:TableCell>
- <asp:TableCell BorderWidth="1px" HorizontalAlign="left">
- <asp:FileUpload ID="FileUpload1" runat="server" Width="400px" />
- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="FileUpload1" runat="server" ErrorMessage="請選擇檔案"
- Display="Dynamic"></asp:RequiredFieldValidator>
- <input id="ContentLength" runat="server" style="position: relative" type="hidden" /></asp:TableCell>
- </asp:TableRow>
- <asp:TableRow>
- <asp:TableCell BorderWidth="1px" ColumnSpan="2">
- <asp:Button ID="BtnFileOk" runat="server" OnClick="BtnFileOk_Click" Text="儲存" />
- </asp:TableCell>
- </asp:TableRow>
- </asp:Table>
- </asp:Panel>
- </center>
- </div>
- </form>
- </body>
- </html>