在C#Windows项目中打开文件对话框 [英] open file dialog in c# windows project

查看:63
本文介绍了在C#Windows项目中打开文件对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿,

我是Windows项目的新手.

因此,任何人都可以帮助我或告诉我等效于Windows应用程序中ASP.NET的文件上传控制.
还是给小教程上载Windows项目中的文件?

hey,

I am new to windows project.

So can any one help me or tell me the equivalent of file upload control of ASP.NET in Windows application.
or give the small tutorial to upload file in windows project?

thankx in advance.

推荐答案

要获得类似的最终结果,请查看以下内容:
For similar end result, have a look at this: How to: Upload a File in Visual Basic[^]


[添加到Sandeep的回复中]

当您拥有桌面客户端时,上载"一词并不意味着任何事情.您可以通过HTTP或FTP或某些自定义TCP协议将文件发送到服务器.您可以使用远程处理或WCF.您可以使用第三部分的RMI解决方案.有很多方法可以做到这一点.最简单的操作可能涉及将文件复制到共享的网络文件夹中.因此,如果您正在设计这样的解决方案,那么这些都是您需要考虑的事情.
[Adding to Sandeep''s response]

When you have a desktop client, the word "upload" does not mean any one thing. You could send a file to a server through HTTP or FTP or some custom TCP protocol. You could use remoting or WCF. You could use a 3rd part RMI solution. There are just so many ways to do this. The simplest may involve copying a file into a shared network folder. So if you are designing such a solution, these are all things that you need to consider.


这篇关于在C#Windows项目中打开文件对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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