文件名称:Progressbar
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:84.16kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
该程序采用了jquery框架,实现了小文件上传。
两个地方需要解释
第一,如何知道监听的这个文件就是上传的这个文件实现机制很简单,就是让asp.net产生一个唯一的guid,这个id序号是唯一的,通过ajax取出来赋值给一个隐藏字段;第二,如何获取guid标志的文件信息?通过asp.net缓存机制实现,上传的过程中,不断的将上传信息往缓存里面写,直到文件上传完成,而在另外一个通过guid获取缓存的信息,信息包括你想要的信息,比如上传了多少字节、消耗了多长时间等。
程序核心页面
index.htm就是文件上传页面,提交form给UploadHandler目录下的Default.aspx,以实现文件上传。
ProgressHandler目录下三个文件为Abort.ashx、GenericGuid.ashx,Handler.ashx功能分别为:根据Guid取消正在上传的文件,生成Guid,根据Guid获取上传信息。
-The program uses the jquery framework to achieve a small file upload.
Two areas that need explanation
First, how do you know listening to this file is the file upload mechanism is very simple to achieve, is to let asp.net generate a unique
guid, id number that is unique, taken out by ajax assigned to a hidden field second, how to get guid logo file information?
Achieved through the asp.net caching mechanism, the process of uploading, will continue to upload information to the cache and write until the file upload is complete, while in other
Outside a guid for the cached information through the information, including information you want, such as the number of bytes uploaded and consumes much time and so on.
Program core page
index.htm is the file upload page, submit the form to the UploadHandler directory Default.aspx, in order to achieve file uploads.
ProgressHandler directory three files to Abort.ashx, GenericGuid.ashx, Handler.ashx functions are: to take under the Guid
Con
两个地方需要解释
第一,如何知道监听的这个文件就是上传的这个文件实现机制很简单,就是让asp.net产生一个唯一的guid,这个id序号是唯一的,通过ajax取出来赋值给一个隐藏字段;第二,如何获取guid标志的文件信息?通过asp.net缓存机制实现,上传的过程中,不断的将上传信息往缓存里面写,直到文件上传完成,而在另外一个通过guid获取缓存的信息,信息包括你想要的信息,比如上传了多少字节、消耗了多长时间等。
程序核心页面
index.htm就是文件上传页面,提交form给UploadHandler目录下的Default.aspx,以实现文件上传。
ProgressHandler目录下三个文件为Abort.ashx、GenericGuid.ashx,Handler.ashx功能分别为:根据Guid取消正在上传的文件,生成Guid,根据Guid获取上传信息。
-The program uses the jquery framework to achieve a small file upload.
Two areas that need explanation
First, how do you know listening to this file is the file upload mechanism is very simple to achieve, is to let asp.net generate a unique
guid, id number that is unique, taken out by ajax assigned to a hidden field second, how to get guid logo file information?
Achieved through the asp.net caching mechanism, the process of uploading, will continue to upload information to the cache and write until the file upload is complete, while in other
Outside a guid for the cached information through the information, including information you want, such as the number of bytes uploaded and consumes much time and so on.
Program core page
index.htm is the file upload page, submit the form to the UploadHandler directory Default.aspx, in order to achieve file uploads.
ProgressHandler directory three files to Abort.ashx, GenericGuid.ashx, Handler.ashx functions are: to take under the Guid
Con
相关搜索: 文件上传 .net
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Progressbar/App_Code/DownloadingFileInfo.cs
Progressbar/App_Code/FileUploadModule.cs
Progressbar/App_Code/LogUtil.cs
Progressbar/App_Code/UploadUtil.cs
Progressbar/Global.asax
Progressbar/index.htm
Progressbar/Log/log.txt
Progressbar/ProgressHandler/Abort.ashx
Progressbar/ProgressHandler/GenerateGuid.ashx
Progressbar/ProgressHandler/Handler.ashx
Progressbar/Scripts/Ajax/ajax-progress-upload.js
Progressbar/Scripts/Ajax/GuidGet.js
Progressbar/Scripts/jquery-1.4.2.min.js
Progressbar/Scripts/jquery-ui-1.8.2.custom.min.js
Progressbar/Scripts/ljq.lib.js
Progressbar/Styles/base.css
Progressbar/Styles/Site.css
Progressbar/UploadHandler/Default.aspx
Progressbar/UploadHandler/Default.aspx.cs
Progressbar/Web.config
Progressbar/Scripts/Ajax
Progressbar/Accessory
Progressbar/App_Code
Progressbar/App_Data
Progressbar/Log
Progressbar/ProgressHandler
Progressbar/Scripts
Progressbar/Styles
Progressbar/UploadHandler
Progressbar
Progressbar/App_Code/FileUploadModule.cs
Progressbar/App_Code/LogUtil.cs
Progressbar/App_Code/UploadUtil.cs
Progressbar/Global.asax
Progressbar/index.htm
Progressbar/Log/log.txt
Progressbar/ProgressHandler/Abort.ashx
Progressbar/ProgressHandler/GenerateGuid.ashx
Progressbar/ProgressHandler/Handler.ashx
Progressbar/Scripts/Ajax/ajax-progress-upload.js
Progressbar/Scripts/Ajax/GuidGet.js
Progressbar/Scripts/jquery-1.4.2.min.js
Progressbar/Scripts/jquery-ui-1.8.2.custom.min.js
Progressbar/Scripts/ljq.lib.js
Progressbar/Styles/base.css
Progressbar/Styles/Site.css
Progressbar/UploadHandler/Default.aspx
Progressbar/UploadHandler/Default.aspx.cs
Progressbar/Web.config
Progressbar/Scripts/Ajax
Progressbar/Accessory
Progressbar/App_Code
Progressbar/App_Data
Progressbar/Log
Progressbar/ProgressHandler
Progressbar/Scripts
Progressbar/Styles
Progressbar/UploadHandler
Progressbar
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.