基于窗口的应用程序如何创建一个浏览文件的按钮 [英] Window based application how to create one button which browse a file

查看:98
本文介绍了基于窗口的应用程序如何创建一个浏览文件的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是一个非常新的asp.net,我的要求是:

1.选择文件(文本,doc,asp页).为此,我想创建一个按钮,当我单击该按钮时,它应显示可以从中选择任何一个文件的列表.

2.将所选文件转换为PDF格式.

您能否指导我做到这一点.如果分享任何例子,这将对您有很大的帮助.

谢谢...

Hi,

I am very new asp.net and my requirement is :

1. select file(text,doc,asp pages). For that I wanted to create one button and when I click that button it should display list of the files from that I can select any one.

2. conversion of the selected file into PDF format.

Could you please guide me to do that.It will be great help if share any example.

Thanks...

推荐答案

1)使用文件上传控件浏览文件.
2)检查在ASP.NET服务器上将Word文档转换为PDF [开源pdf库 [
1)Use a file upload control to browse for the files.
2)check Convert Word-Documents to PDF on an ASP.NET Server[^]
open source pdf libraries[^]


这篇关于基于窗口的应用程序如何创建一个浏览文件的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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