使用itextsharp将gridview导出为pdf时出现问题 [英] problem while exporting gridview to pdf using itextsharp
本文介绍了使用itextsharp将gridview导出为pdf时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
i在我的应用程序中有一个Web表单,其中包含2个文本和框4下拉列表。
在这些字段中输入值后,单击添加按钮数据保存在数据库中并在网格视图中绑定。
之后
i将使用iTextSharp工具将此网格视图数据导出为pdf
但是当我单击导出按钮时,控件将返回到表单的输入值字段,而不是导出为pdf。
这里有什么不对,请帮忙。
谢谢
i have a web form in my application which has 2 text and box 4 drop down list.
after inputting values in these fields, on click of add button data is saved in database and bind in grid view.
after that
i am exporting this grid view data to pdf using iTextSharp tool.
but when i click export button, instead of exporting to pdf the control goes back to form's fields for input values.
whats wrong here, pls help.
thanks
推荐答案
这篇关于使用itextsharp将gridview导出为pdf时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文