我所拥有的:
我需要做的是:
我对水晶报告很陌生。我该怎么办?
下面是我的表单的样子:

发布于 2015-07-09 07:10:47
很简单,亲爱的,您只需设置参数,就像我们在获取sql数据时为sql命令所做的一样。
ReportDocument reportDocument = new ReportDocument();
reportDocument.Load(reportPath);
reportDocument.SetParameterValue("@id", QuotationID);你可以检查这个链接。
passing parameter to the CRYSTAL REPORT through C# in asp.net
http://www.codeproject.com/Articles/5492/Passing-Parameters-to-Crystal-Reports-at-Runtime
发布于 2015-07-09 07:27:48
好的,试试这个:
您需要在日期数据类型的水晶报表中创建参数,并使用记录选择公式中的参数来激活这些参数。
这将弹出一个窗口,同时预览,要求用户输入和用户提供的输入,只有数据将被检索和显示,并在水晶报告内部,您可以按日期排序。
https://stackoverflow.com/questions/31308334
复制相似问题