需要下载NeatUpload插件
上传页面:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="index.aspx.cs" Inherits="_Default" %><%@ Register Assembly="Brettle.Web.NeatUpload" Namespace="Brettle.Web.NeatUpload" TagPrefix="Upload" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://bine(MapPath("~/UpLoads"), _filename);if (System.IO.File.Exists(_filepath)){File.Delete(_filepath);Response.Write("<script language=javascript>alert('删除成功!');window.location = 'Down.aspx';</script>");//Response.Redirect("Down.aspx");}以上就是本文的全部内容,希望对大家的学习有所帮助。