⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 manageraddfile.aspx

📁 很好的啊!中小型企业用的
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerAddFile.aspx.cs" Inherits="Manager_ManagerAddFile" %>

<!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>无标题页</title>
</head>
<body style="text-align: center; background-image: url(../images/right.jpg);background-repeat: no-repeat; font-size:small">
    <form id="form1" runat="server">
    <div>
      <table style="left: -189px; width: 568px; position: relative; top: 38px; height: 241px">
          <tr>
            <td style="width: 128px; height: 82px; "></td>
            <td align="left">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label></td>
          </tr>
          <tr>
            <td style="width:128px; height: 50px;"></td>
            <td style="height: 50px; width: 305px;" align="left">*文件名:<asp:TextBox ID="tbName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="tbName"
                    ErrorMessage="文件名不能为空" Style="left: 233px; position: relative; top: -22px"></asp:RequiredFieldValidator></td>
          </tr>
          <tr>
            <td style="width: 128px; height: 64px;"></td>
            <td style="height: 64px; width: 305px;" align="left">
                *位置: &nbsp;&nbsp;
                <asp:FileUpload ID="FileAddress" runat="server" />
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="文件路径不能为空"
                    Style="left: 302px; position: relative; top: -19px" ControlToValidate="FileAddress"></asp:RequiredFieldValidator></td>
          </tr>
          <tr>
            <td style="width: 128px"></td>
            <td align="left">
               <div style="width:200px">
                <table>
                   <tr>
                     <td style="width:20px"></td>
                     <td style="width: 40px" align="left">
                         <asp:RadioButtonList ID="rbtnFileType" runat="server" Width="70px" Height="111px">
                             <asp:ListItem Value="excel" Selected="True">excel</asp:ListItem>
                             <asp:ListItem Value="ppt">ppt</asp:ListItem>
                             <asp:ListItem Value="word">word</asp:ListItem>
                             <asp:ListItem Value="txt">txt</asp:ListItem>
                         </asp:RadioButtonList>
                     </td>
                     <td style="width: 31px" valign="top">
                         <table>
                           <tr>
                             <td style="height: 32px; width: 24px;">
                                 <asp:Image ID="Image1" runat="server" ImageUrl="~/images/file/excel.gif" /></td>
                           </tr>
                           <tr>
                             <td style="width: 24px">
                                 <asp:Image ID="Image2" runat="server" ImageUrl="~/images/file/ppt.gif" /></td>
                           </tr>
                           <tr>
                             <td style="width: 24px">
                                 <asp:Image ID="Image3" runat="server" ImageUrl="~/images/file/word.gif" /></td>
                           </tr>
                           <tr>
                             <td style="width: 24px">
                                 <asp:Image ID="Image4" runat="server" ImageUrl="~/images/file/txt.jpg" /></td>
                           </tr>
                         </table>
                     </td>
                   </tr>
                </table>
            </div>    
            </td>
          </tr>
          <tr>
            <td style="width: 128px; height: 52px;"></td>
            <td align="center" style="height: 52px; width: 305px;">
                <asp:Button ID="Button1" runat="server" Text="上传" Width="57px" OnClick="Button1_Click" />
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
                <asp:Button ID="Button2" runat="server" Text="取消" style="position: relative" Width="57px" OnClick="Button2_Click" CausesValidation="False" /></td>
          </tr>
      </table>
   </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -