如何使用弹出窗口上传PDF文件并在gridview中查看 [英] how to upload a PDF file and view in gridview using popup window

查看:115
本文介绍了如何使用弹出窗口上传PDF文件并在gridview中查看的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨朋友们,



正在使用asp.net c#,sqlserver 2005 db。



在我的项目中我有两页。



1)第一页是所有文本框的形式,上传按钮以上传pdf文件。所有这一切都必须存储在数据库表中(直到这里才能正常工作)



2)在第二页我有一个Gridview来查看所有记录,包括PDF文件。在此我点击pdf文件。只有PDF必须在弹出窗口中打开。



注意:我可以查看PDF文件,我也可以下载。



请帮帮我。



提前谢谢。

Hi friends,

am working on asp.net c#, sqlserver 2005 db.

In my project i have two pages.

1) First page is form all textboxes and upload buttton to upload a pdf file. All this must be stored in database table (its fine working till here)

2) In second page i have a Gridview to view all the records Including PDF file also. In this when i click pdf file. only PDF must open in popup window.

Note: I can view PDF file and i can download it also.

Please can you help me.

thanks in advance.

推荐答案

亲爱的朋友,



至于我理解你的问题,我希望下面提到的链接可以帮助你: -



http:// www。 c-sharpcorner.com/uploadfile/satyapriyanayak/export-gridview-data-to-pdf-format-in-vb-net2/



http://www.aspsnippets.com/文章/导出-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx



将gridview导出到p db formate in vb.net



谢谢&问候



Varun Sareen
Dear Friend,

So far as i have understood your problem, I hope the below mentioned links might help you out:-

http://www.c-sharpcorner.com/uploadfile/satyapriyanayak/export-gridview-data-to-pdf-format-in-vb-net2/

http://www.aspsnippets.com/Articles/Export-GridView-To-Word-Excel-PDF-CSV-Formats-in-ASP.Net.aspx

Export gridview to pdf formate in vb.net

Thanks & Regards

Varun Sareen


这篇关于如何使用弹出窗口上传PDF文件并在gridview中查看的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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