使用c#在Asp.Net中上传文件 [英] File upload in Asp.Net with c#

查看:72
本文介绍了使用c#在Asp.Net中上传文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的朋友们,



i正在开发PAN卡自动化的Web应用程序。我正在使用文件上传控件上传扫描的证据。当用户上传文件时,我想要为每个用户的文档创建一个文件夹。在文件夹中只需要上传他们的文件。怎么可能。如果你回答这个问题,你会非常感激。



先谢谢

Dear Friends,

i am developing web application for PAN Card Automation.In that i am using File upload control to upload scanned proof.when user upload documents , i want to create a folder for every user''s document.With in the folder only their document need to upload.How is it possible.You will be very much thankful if you answer the question.

Thanks in advance

推荐答案

嗨Jai,



请仔细阅读下方链接。它解释了如何创建文件夹,获取文件夹名称,向该特定文件夹添加新文件等。



http://msdn.microsoft.com/en-us/library/vstudio/as2f1fez.aspx [ ^ ]



您可以根据您的使用和要求使用代码。



快乐编码。



谢谢,

Vamsi
Hi Jai,

Please go through the link below. It explains you how to create a folder, get the folder name, add a new file to that specific folder, etc.

http://msdn.microsoft.com/en-us/library/vstudio/as2f1fez.aspx[^]

You can play with the code as per your usage and requirements.

Happy coding.!

Thank you,
Vamsi


这篇关于使用c#在Asp.Net中上传文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆