• 大小: 0.39M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-03-25
  • 语言: ASP
  • 标签: 上传  

资源简介

SwfUpload案例

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using IMMENSITY.SWFUploadAPI;

//源码下载 www.51aspx.com
namespace SWFUpload
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender EventArgs e)
        {
            this.UC_SWFUpload1.swfUploadInfo = new SWFUploadInfo() 
            { 
                UploadMode = UpMode.LIST 
                File_size_limit = 300
                SubmitButtonId=this.Button1.ClientID 
            };
            
        }

        protected void Button1_Click(object sender EventArgs e)
        {
            string lblName = ““;
          
            foreach (string item in this.UC_SWFUpload1.FileNameList)
            {
                lblName += item + “|“;
            }


            Response.Write(“ript language=\“javascript\“>window.returnValue=‘“ + lblName.ToString().Su

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-01-20 15:09  SWFUpload\
     文件        1407  2015-01-20 09:20  SWFUpload.sln
     文件       34304  2015-01-20 09:19  SWFUpload.suo
     目录           0  2015-01-20 09:20  SWFUploadAPI\
     目录           0  2015-01-20 09:20  SWFUploadAPI\bin\
     目录           0  2015-01-20 15:29  SWFUploadAPI\bin\Debug\
     文件       21504  2015-01-20 15:40  SWFUploadAPI\bin\Debug\SWFUploadAPI.dll
     文件       42496  2015-01-20 15:40  SWFUploadAPI\bin\Debug\SWFUploadAPI.pdb
     目录           0  2015-01-20 09:20  SWFUploadAPI\bin\Release\
     目录           0  2010-05-18 14:47  SWFUploadAPI\Enums\
     文件         553  2010-05-18 14:47  SWFUploadAPI\Enums\SWFButtonAction.cs
     文件        1076  2010-05-18 14:47  SWFUploadAPI\Enums\SWFFileFolderKey.cs
     文件         438  2010-05-18 14:47  SWFUploadAPI\Enums\SWFUpMode.cs
     文件         617  2010-05-18 14:47  SWFUploadAPI\Enums\SWFWaterMarkLocation.cs
     文件         432  2010-05-18 14:47  SWFUploadAPI\Enums\SWFWaterMarkType.cs
     目录           0  2010-05-18 14:42  SWFUploadAPI\obj\
     目录           0  2015-01-20 15:40  SWFUploadAPI\obj\Debug\
     文件        6028  2015-01-20 22:14  SWFUploadAPI\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件        1282  2015-01-20 15:29  SWFUploadAPI\obj\Debug\SWFUploadAPI.csproj.FileListAbsolute.txt
     文件       21504  2015-01-20 15:40  SWFUploadAPI\obj\Debug\SWFUploadAPI.dll
     文件       42496  2015-01-20 15:40  SWFUploadAPI\obj\Debug\SWFUploadAPI.pdb
     目录           0  2010-05-18 14:42  SWFUploadAPI\obj\Debug\TempPE\
     目录           0  2010-05-18 16:12  SWFUploadAPI\Properties\
     文件        1380  2010-05-18 16:12  SWFUploadAPI\Properties\AssemblyInfo.cs
     文件        1966  2010-05-18 14:47  SWFUploadAPI\SWFDataCache.cs
     文件        4741  2015-01-20 09:20  SWFUploadAPI\SWFUploadAPI.csproj
     文件         451  2015-01-20 09:20  SWFUploadAPI\SWFUploadAPI.csproj.user
     文件       27328  2015-01-20 15:39  SWFUploadAPI\SWFUploadFile.cs
     文件        3907  2010-05-18 16:42  SWFUploadAPI\SWFUploadInfo.cs
     文件        9050  2010-05-19 08:54  SWFUploadAPI\SWFUrlOper.cs
     文件        1033  2010-05-19 08:54  SWFUploadAPI\SWFWebConfigManage.cs
............此处省略103个文件信息

评论

共有 条评论