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

📄 upfile.aspx

📁 本程序基于 asp.net 2.0 +sql server 2
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="upfile.aspx.cs" Inherits="edit_upfile" Theme ="" %>

<!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="margin-top: 5px; margin-left: 5px; background-color: #ccccff">
    <form id="form1" runat="server" >
        <div >
            <span style="font-size: 11pt">如果使用网络上的文件、音乐、Flash,请输入网络地址</span><br />
              <input id="TextBox1" type="text" runat="server" Height="22px" Width="348px"   onfocus="getfocus();" style="width: 347px" value="http://"/><br />
            <span style="font-size: 11pt">如果从您的计算机上传文件、音乐、Flash,点击下面的浏览...选择文件<br />
            </span>

        <asp:FileUpload id="FileUpload1" runat="server" Height="30px" Width="259px" /> <asp:Button ID="Button1" runat="server" Height="30px" Text="上传到服务器" Width="94px" Font-Bold="True" ForeColor="Blue" />&nbsp;<br />
        <div id="setting" runat ="server"></div>
            <asp:HiddenField ID="hfName"  runat="server" />
          </div>
    </form>
</body>
</html>
<script type ="text/javascript">
function getfocus()
{
var textbox=document.getElementById ("TextBox1");
textbox.value="";
}

function insert()
{
var editor=window.opener.document.getElementById("editor");
  editor.innerHTML+="aa";
  window.close ();
}

</script>

⌨️ 快捷键说明

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