如何在c#中使用水晶报表进行日期过滤 [英] how to do date filtering using crystal reports in c#

查看:72
本文介绍了如何在c#中使用水晶报表进行日期过滤的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

CrystalReportViewer1.SelectionFormula = "{tbl_srvmast1.Com_Type}='" + DropDownList1.SelectedItem.Text + "'" + "AND {tbl_srvmast1.Rec_Date}>=CDateTime('"+TextBox1.Text+"')" + "AND {tbl_srvmast1.Rec_Date}<=CDateTime('"+TextBox2.Text+"')";







我的日期时间格式不好。



请帮帮我




I am getting bad datetime format.

Kindly help me out

推荐答案

试试

Crystal Report Filte使用选择参数 [ ^ ]

http://pic.dhe.ibm.com/infocenter/rsawshlp/v7r5m0/index.jsp?topic=%2Fcom.businessobjects.integration.eclipse.devtools。 doc%2Fdeveloper%2FWalkthrough14.html [ ^ ]


查看这些

< a href =http://csharp.net-informations.com/crystal-reports/csharp-crystal-reports-date-parameter.htm> C#Crystal Reports日期参数 [ ^ ]

C#Crystal Reports - 迄今为止的日期 [ ^ ]
Check these
C# Crystal Reports Date parameter[^]
C# Crystal Reports - Date to Date[^]


这篇关于如何在c#中使用水晶报表进行日期过滤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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