有谁有比较好的例子。
我不知道怎么去codeproject 或soucefroce
上去搜,
谁知道的给个链接。
感谢。
18 个解决方案
#1
上传到数据库只是一个地址。真实内容上传到物理服务器上。
#2
使用radupload
1.web.config 中需要加入:
<httpHandlers>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
</httpHandlers>
<httpModules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</httpModules>
2.引用并声明使用
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.NET2" %>
<radU:RadProgressManager ID="Radprogressmanager1" runat="server" />
<radU:RadUpload ID="RadUpload1" runat="server" Skin="Web20" InitialFileInputsCount="2"
MaxFileInputsCount="4" AllowedFileExtensions=".doc,.rar" MaxFileSize="10000000"
TargetFolder="~/Upload/kjcx" OverwriteExistingFiles="false" />
<asp:Button ID="buttonSubmit" runat="server" CssClass="RadUploadButton" Text="Submit!" />
<radU:RadProgressArea ID="progressArea1" runat="server" />
很多参数的设置参考 :http://www.telerik.com/demos/aspnet/Upload/Examples/Overview/DefaultCS.aspx
3.文件大小的控制,如果太大会出现页面报错。
web.config
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />
报错的帮助文档:
http://www.telerik.com/support/kb/article/b454K-gth-b454T-cee.aspx
http://www.telerik.com/help/radUpload/v2%5FNet2/?UploadingLargeFiles.html
下这个dll就可以用了,已经反编译后改成中文的了,我以前用的就是这个
http://www.cnblogs.com/gudufy/archive/2008/09/17/766234.html
1.web.config 中需要加入:
<httpHandlers>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
</httpHandlers>
<httpModules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</httpModules>
2.引用并声明使用
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.NET2" %>
<radU:RadProgressManager ID="Radprogressmanager1" runat="server" />
<radU:RadUpload ID="RadUpload1" runat="server" Skin="Web20" InitialFileInputsCount="2"
MaxFileInputsCount="4" AllowedFileExtensions=".doc,.rar" MaxFileSize="10000000"
TargetFolder="~/Upload/kjcx" OverwriteExistingFiles="false" />
<asp:Button ID="buttonSubmit" runat="server" CssClass="RadUploadButton" Text="Submit!" />
<radU:RadProgressArea ID="progressArea1" runat="server" />
很多参数的设置参考 :http://www.telerik.com/demos/aspnet/Upload/Examples/Overview/DefaultCS.aspx
3.文件大小的控制,如果太大会出现页面报错。
web.config
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />
报错的帮助文档:
http://www.telerik.com/support/kb/article/b454K-gth-b454T-cee.aspx
http://www.telerik.com/help/radUpload/v2%5FNet2/?UploadingLargeFiles.html
下这个dll就可以用了,已经反编译后改成中文的了,我以前用的就是这个
http://www.cnblogs.com/gudufy/archive/2008/09/17/766234.html
#3
.net1.1/的吗
还是2.0的?
还是2.0的?
#4
^:^
#6
ajax
swfupload
neatupload
http://topic.csdn.net/u/20081127/18/47e9fba4-f906-4201-aa85-2b0c5d0fb7bb.html
swfupload
neatupload
http://topic.csdn.net/u/20081127/18/47e9fba4-f906-4201-aa85-2b0c5d0fb7bb.html
#7
#9
Up,
#10
#11
呵呵,过这么久才有这么多人回复啊。
感谢万分
感谢万分
#12
昨天cnblogs上剛有人發了一個帶進度條的上傳。
#13
http://topic.csdn.net/u/20090911/16/a667d992-da43-4272-b750-1f36d1ae4e04.html
#14
哪里有链接哇?
#15
他们给的都好难啊,不是直接拿来用
#16
标记
#17
#18
#1
上传到数据库只是一个地址。真实内容上传到物理服务器上。
#2
使用radupload
1.web.config 中需要加入:
<httpHandlers>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
</httpHandlers>
<httpModules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</httpModules>
2.引用并声明使用
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.NET2" %>
<radU:RadProgressManager ID="Radprogressmanager1" runat="server" />
<radU:RadUpload ID="RadUpload1" runat="server" Skin="Web20" InitialFileInputsCount="2"
MaxFileInputsCount="4" AllowedFileExtensions=".doc,.rar" MaxFileSize="10000000"
TargetFolder="~/Upload/kjcx" OverwriteExistingFiles="false" />
<asp:Button ID="buttonSubmit" runat="server" CssClass="RadUploadButton" Text="Submit!" />
<radU:RadProgressArea ID="progressArea1" runat="server" />
很多参数的设置参考 :http://www.telerik.com/demos/aspnet/Upload/Examples/Overview/DefaultCS.aspx
3.文件大小的控制,如果太大会出现页面报错。
web.config
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />
报错的帮助文档:
http://www.telerik.com/support/kb/article/b454K-gth-b454T-cee.aspx
http://www.telerik.com/help/radUpload/v2%5FNet2/?UploadingLargeFiles.html
下这个dll就可以用了,已经反编译后改成中文的了,我以前用的就是这个
http://www.cnblogs.com/gudufy/archive/2008/09/17/766234.html
1.web.config 中需要加入:
<httpHandlers>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
</httpHandlers>
<httpModules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</httpModules>
2.引用并声明使用
<%@ Register TagPrefix="radU" Namespace="Telerik.WebControls" Assembly="RadUpload.NET2" %>
<radU:RadProgressManager ID="Radprogressmanager1" runat="server" />
<radU:RadUpload ID="RadUpload1" runat="server" Skin="Web20" InitialFileInputsCount="2"
MaxFileInputsCount="4" AllowedFileExtensions=".doc,.rar" MaxFileSize="10000000"
TargetFolder="~/Upload/kjcx" OverwriteExistingFiles="false" />
<asp:Button ID="buttonSubmit" runat="server" CssClass="RadUploadButton" Text="Submit!" />
<radU:RadProgressArea ID="progressArea1" runat="server" />
很多参数的设置参考 :http://www.telerik.com/demos/aspnet/Upload/Examples/Overview/DefaultCS.aspx
3.文件大小的控制,如果太大会出现页面报错。
web.config
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="8192" requestLengthDiskThreshold="8192" />
报错的帮助文档:
http://www.telerik.com/support/kb/article/b454K-gth-b454T-cee.aspx
http://www.telerik.com/help/radUpload/v2%5FNet2/?UploadingLargeFiles.html
下这个dll就可以用了,已经反编译后改成中文的了,我以前用的就是这个
http://www.cnblogs.com/gudufy/archive/2008/09/17/766234.html
#3
.net1.1/的吗
还是2.0的?
还是2.0的?
#4
^:^
#5
#6
ajax
swfupload
neatupload
http://topic.csdn.net/u/20081127/18/47e9fba4-f906-4201-aa85-2b0c5d0fb7bb.html
swfupload
neatupload
http://topic.csdn.net/u/20081127/18/47e9fba4-f906-4201-aa85-2b0c5d0fb7bb.html
#7
http://krystalware.com/Products/SlickUpload/Demos/Overview/DefaultCS.aspx
http://topic.csdn.net/u/20090911/16/a667d992-da43-4272-b750-1f36d1ae4e04.html
http://topic.csdn.net/u/20090911/16/a667d992-da43-4272-b750-1f36d1ae4e04.html
#8
#9
Up,
#10
http://download.csdn.net/source/716537
http://www.cnblogs.com/kingeric/archive/2009/03/23/1419444.html
http://www.cnblogs.com/kingeric/archive/2009/03/23/1419444.html
#11
呵呵,过这么久才有这么多人回复啊。
感谢万分
感谢万分
#12
昨天cnblogs上剛有人發了一個帶進度條的上傳。
#13
http://topic.csdn.net/u/20090911/16/a667d992-da43-4272-b750-1f36d1ae4e04.html
#14
哪里有链接哇?
#15
他们给的都好难啊,不是直接拿来用
#16
标记