Web/common/UPFiles.ascx

(完整代码) 1KB

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="UPFiles.ascx.cs" Inherits="common_UPFiles" %>
    <script language="JavaScript">
    function addFile()
    {
    	var str = '<INPUT type="file" size="50" NAME="File"><br />'
    	document.getElementById('MyFile').insertAdjacentHTML("beforeEnd",str)
    }
    </script>
    <table width="200" border="0" cellspacing="0" cellpadding="0">
   <tr>
     <td>
        <P id="MyFile"><INPUT type="file" size="50" NAME="File"><br /></P>
        <P>
          <input type="button" value="增加(Add)" onclick="addFile()">
          <input onclick="this.form.reset()" type="button" value="重置(ReSet)">
          <asp:Button Runat="server" Text="开始上传" ID="UploadButton" OnClick="UploadButton_Click"></asp:Button>
        </P>
        <P>
        <asp:Label id="strStatus" runat="server" Font-Names="宋体" Font-Bold="True" Font-Size="9pt" 
          Width="500px" BorderStyle="None" BorderColor="White"></asp:Label>
        </P> 
    </td>
   </tr>
 </table>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。