upload_photo.aspx
上传用户:xrffrp
上传日期:2022-03-25
资源大小:22155k
文件大小:2k
源码类别:

OA系统

开发平台:

ASP/ASPX

  1. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="upload_photo.aspx.cs" Inherits="web_personnel_curricula_vitae_upload_photo" %>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" >
  4. <head runat="server">
  5.     <title>无标题页</title>
  6.     <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
  7. </head>
  8. <body>
  9.     <form id="form1" runat="server">
  10.     <div>
  11.     <center><br />
  12.         <asp:Table ID="Table1" runat="server" Style="position: relative">
  13.             <asp:TableHeaderRow>
  14.                 <asp:TableHeaderCell HorizontalAlign="Left" BackColor="lightGray">員工相片圖檔上傳</asp:TableHeaderCell>
  15.             </asp:TableHeaderRow>
  16.             <asp:TableRow>
  17.                 <asp:TableCell HorizontalAlign="Left">
  18.                     <asp:FileUpload ID="FileUpload1" runat="server" Style="position: relative" Width="400px" />
  19.                     <asp:RequiredFieldValidator
  20.                         ID="RequiredFieldValidator1" runat="server" ErrorMessage="請選擇圖檔" ControlToValidate="FileUpload1" Display="Dynamic"></asp:RequiredFieldValidator></asp:TableCell>
  21.             </asp:TableRow>
  22.             <asp:TableRow>
  23.                 <asp:TableCell>
  24.                     <asp:Button ID="BtnUpload" runat="server" OnClick="BtnUpload_Click" Style="position: relative"
  25.                         Text="上傳" />&nbsp;
  26.                     <asp:Button ID="BtnUnUpload" runat="server" OnClientClick="javascript:location.href='employee_list_index.aspx'" Style="position: relative"
  27.                         Text="暫不上傳" />
  28.                 </asp:TableCell>
  29.             </asp:TableRow>
  30.         </asp:Table>
  31.         &nbsp;</center>
  32.         <center>
  33.             &nbsp;</center>
  34.         <center>
  35.         <asp:ImageButton ID="Photo" runat="server" Style="position: relative" Width="100px" />
  36.         </center>
  37.         <br />
  38.         <asp:HiddenField ID="ContentLength" runat="server" />
  39.         <asp:HyperLink ID="HlEmployeeList" runat="server" style="left: 354px; position: relative; top: -4px" NavigateUrl="~/web/personnel/curricula_vitae/employee_list.aspx"></asp:HyperLink>&nbsp;<br />
  40.         &nbsp;<asp:HyperLink ID="HlEmployeeShow" runat="server" style="left: 350px; position: relative; top: 4px"></asp:HyperLink></div>
  41.     </form>
  42. </body>
  43. </html>