Gridview打印问题 [英] Gridview printing problem

查看:62
本文介绍了Gridview打印问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我在gridview中有问题.我在gridview中有列,并且有链接按钮说在gridview的每一行中都打印.现在我的问题是,当我单击此链接按钮时,我想打印该行的记录.

我该怎么办?

任何想法或代码,请帮帮我.

在此先感谢.

问候,
krunal1986



i have problem in my gridview. i have column in gridview and there are link buttons say print in each row of gridview. now my problem is that when i click on this link button i want to print my that row''s record.

how can i do this?

any idea or code then please help me.

thanks in advance.

regards,
krunal1986

推荐答案

您可以跟踪链接按钮的单击事件并获取整行.

然后,您可以根据您的字段安排数据并随时将其打印出来或存储以备后用.

查找以下对相同有用的链接.
http://forums.asp.net/t/1016380.aspx [ http://csharpdotnetfreak.blogspot.com/2009/04/linkbutton-gridview-querystring.html [ ^ ]


HTH
You can track click event of link button and fetch entire row.

Then according to your field you can arrange data and print out it at any time or store it for later use.

Find following links useful for the same.
http://forums.asp.net/t/1016380.aspx[^]
http://csharpdotnetfreak.blogspot.com/2009/04/linkbutton-gridview-querystring.html[^]


HTH


这篇关于Gridview打印问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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