且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在不使用数据库的情况下在Crystal报表中显示数据

更新时间:2023-09-12 19:33:40

请从这里开始:

生成没有数据库的Crystal Reports报告 [ ^ ]

C#Crystal Reports without database [ ^ ]

没有数据库连接的Windows应用程序中的Crystal报表 [ ^ ]



正如我在问题评论中所述,你必须转换数据来自将数据从文本框控件添加到datatable时,将字符串转换为正确的数据类型(int,datetime)。怎么做?请检查:如何:将字符串转换为数字(C#编程指南) [ ^ ]
Please, start here:
Generate a Crystal Reports report without a database[^]
C# Crystal Reports without database[^]
Crystal Report In Windows Application Without Database Connection[^]

As i stated in the comment to the question, you have to convert data from string to proper data type (int, datetime) when you adding data from textbox control into datatable. How to do that? Please, check: How to: Convert a String to a Number (C# Programming Guide)[^]