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

📄 houqinaddfile.aspx

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

<!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 id="Head1" runat="server">
    <title>无标题页</title>
    <style>body{font-size:small}</style>
</head>
<body style="text-align: center; background-image: url(../images/right.jpg);background-repeat: no-repeat">
    <form id="form1" runat="server">
    <div>
      <table style=" width: 523px; position: relative; top: 70px; height: 241px; left: -48px;">
          <tr>
            <td style="width: 86px; height: 85px; "></td>
            <td align="left" style="height: 85px; width: 300px;">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label></td>
                <td style="width: 137px"></td>
          </tr>
          <tr>
            <td style="width:86px; height: 50px;">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;
            </td>
            <td style="height: 50px; width: 300px;" align="left">*文件名:<asp:TextBox ID="tbName" runat="server" Width="175px"></asp:TextBox>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            </td>
            <td style="width: 137px">
            
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="文件名不能为空" ControlToValidate="tbName"></asp:RequiredFieldValidator>
            </td>
          </tr>
          <tr>
            <td style="width: 86px; height: 66px;" align="right">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</td>
            <td style="height: 66px; width: 300px;" align="left">
                *位置: &nbsp;&nbsp; &nbsp;
                <asp:FileUpload ID="FileAddress" runat="server" />
                </td><td style="width: 137px; height: 66px;"><asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="地址不能为空" ControlToValidate="FileAddress"></asp:RequiredFieldValidator></td>
                   </tr>
                  <tr>
            <td style="width: 86px"></td>
            <td align="left" style="width: 300px; color: #000000; background-color: #ffffff">
               <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: 86px; height: 52px;"></td>
            <td align="center" style="height: 52px; width: 300px;">
                <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><td style="width: 137px"></td>
          </tr>
      </table>
   </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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