FileUpload没有使用c#刷新asp.net中的页面。 [英] FileUpload without refresh the page in asp.net using c#.
本文介绍了FileUpload没有使用c#刷新asp.net中的页面。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请告诉我如何上传文件而不使用c#在asp.net中刷新页面。完成上传后,将商店数据的每条消息从文件显示到sqlserver。
please tell me how to upload File without refresh the page in asp.net using c#. after complete uploading, display every message of store data from file to sqlserver.
推荐答案
Hello Abhilask kumar,
从www.asp.net访问AjaxFileUpload演示
文章链接: http://goo.gl/WL7MWw [ ^ ]
欢呼,
jafc
Hello Abhilask kumar,
Visit "AjaxFileUpload Demonstration" from www.asp.net
Link to article: http://goo.gl/WL7MWw[^]
cheers,
jafc
请尝试使用以下
Kindly try to use the following
<asp:UpdatePanel>
<ContentTemplate>
//Your file Uploader
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="btngtProvider" EventName="Click"/>
</Triggers>
</asp:UpdatePanel>
希望它会有所帮助。 :)
Hope it will help. :)
我们可以使用一个Generic handeler和一些javascript代码来解决这个问题
FileUpload.aspx: -
- -------------
< script>
We can use one Generic handeler and some javascript code to work out this
FileUpload.aspx:-
---------------
<script>
这篇关于FileUpload没有使用c#刷新asp.net中的页面。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文