简体   繁体   English

C#:如何在Visual Studio 2012中将诸如标签或文本框值之类的文本从窗体发送到Crystal报表?

[英]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.

相关问题 水晶报表 Visual Studio 2012 - Crystal Reports Visual Studio 2012 在c#visual studio中使用文本框或标签,如按钮 - Using a textbox or label like a button in c# visual studio C#WindowsForms-在Visual Studio上将文本框从Form1发送到Form2 - C# WindowsForms - Send textbox from form1 to form2 on visual studio Visual Studio 2005 中的 Crystal Reports(C# .NET Windows 应用程序) - Crystal Reports in Visual Studio 2005 (C# .NET Windows App) 如何从Visual Studio C#将整数值发送到arduino - How to send a integer value to arduino from visual studio C# 如何在 C# 水晶报表 Visual Studio 2010 中进行打印预览 - How to do a Print Preview in C# crystal reports visual studio 2010 如何使用Visual Studio 2012在ASP.net C#中生成水晶报表? - How to generate crystal report in ASP.net C# using visual studio 2012? 有没有办法在 Visual Studio 中使用 C# 动态更改文本框的文本,以便该值是来自其他文本框的值的总和? - Is there a way to dynamically change the text of a textBox in Visual Studio with C# so that the value is a sum of values from other textboxes? C#Visual Studio 2012语音到textBox1 - C# Visual Studio 2012 Speech to textBox1 如何在Visual Studio 2012 C#中使用数据/值成员从组合框执行搜索操作 - How to preform search operation from combobox using data/value member in Visual Studio 2012 C#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM