C#2008 Microsoft报表 [英] C# 2008 Microsoft Reporting

查看:93
本文介绍了C#2008 Microsoft报表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我是C#的新手,目前正在使用C#做一个项目,我需要使用Microsoft Reporting Service生成报告.问题是我有两个"datetimepicker"控件,我需要从这些日期之间的表中查找数据.那些日子我该如何生成报告....希望您能理解我的问题!!请帮我解决这个问题...

在此先感谢......

hi guys !

I''m a newbie to C# and currently i''m doing a project using C# and i need to generate report using Microsoft Reporting Service. Question is i got two "datetimepicker" controls and i need to find data from a table in between those dates. how can i generate report using those days....hope all u understand my problem!! pls help me with this matter...

thanks in advance......

推荐答案

答案对:

如果要使用Microsoft Reporting Service生成报告,则可以在
Couple of answers:

If you want to generate a report using Microsoft Reporting Service, then you can refer MSDN article for step by step tutorial at http://msdn.microsoft.com/en-us/library/ms159170(v=sql.100).aspx[^]

To find data from a table in between two dates, you can use the below SQL query:

SELECT *
FROM @Orders
WHERE Orderdate 
BETWEEN @Startdate AND @Enddate


这篇关于C#2008 Microsoft报表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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