[英]C#: How to send text like label or textbox value from form to crystal reports in visual studio 2012?
I have a form having datagridview and other labels like name, amount etc. I can successfully send datagridview data to crystal reports but i dont know how to send the label or textbox values to crystal reports and how to show it in crystal reports? 我有一个具有datagridview和其他标签(例如名称,金额等)的表单。我可以成功将datagridview数据发送到Crystal报表,但是我不知道如何将标签或文本框值发送到Crystal报表以及如何在Crystal报表中显示它? is anyone have any idea about this?
有人对此有任何想法吗? Thanks!
谢谢!
Yes, you can achieve this by sending html format into the crystal report, not direct label or textboxes. 是的,您可以通过将html格式而不是直接标签或文本框发送到水晶报表中来实现此目的。 Crystal report understand the html partially(check the link for partially means)
水晶报表部分了解html(部分检查链接意味着)
Check this links for sending html to crystal report. 检查此链接以将html发送到水晶报表。
http://forums.asp.net/t/1209306.aspx?Possible+to+display+HTML+with+Crystal+Reports+ http://forums.asp.net/t/1209306.aspx?Possible+to+display+HTML+with+Crystal+Reports+
https://scn.sap.com/thread/3196185 https://scn.sap.com/thread/3196185
Crystal report with HTML content formatting 具有HTML内容格式的Crystal报表
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.