如何使用linq to sql在wpf vs2012中使用水晶报表或报表?

如何使用linq to sql在wpf vs2012中使用水晶报表或报表?

问题描述:

我正在进行销售点项目但是一旦在展示之后在listview中显示的销售商品项目看起来像收据示例

I am doing point of sale project but once sale product item to be display in listview after show looks like receipt example

产品名称,单价,数量,数量,总数amount.anybody知道这些请帮帮我 

product name,unitprice,quantity,amount,total amount.anybody knows these please help me 

WinForm ReportViewer控件应该可以帮助你,你可以使用WPF  WindowsFormsHost元素来托管WinForm控件。

WinForm ReportViewer control should help you, you can use WPF WindowsFormsHost Element to Host a WinForm control.

这应该是一个很好的起点:$ b​​ $ b https://msdn.microsoft.com/en-us/library/hh273267.aspx

报表设计器(Visual Studio):
https://msdn.microsoft.com/en-us/library/bb558708(v = vs.120).aspx

Report Designer (Visual Studio): https://msdn.microsoft.com/en-us/library/bb558708(v=vs.120).aspx

您可能还需要:
https://www.microsoft.com/en-us/download/details.aspx?id=35747

..

您还可以尝试一些第三方报告,

You can also try some the third party report,

开源.NET WPF报告引擎:
http://wpfreports.codeplex.com/

Open-Source .NET WPF Reporting Engine: http://wpfreports.codeplex.com/

请注意:

关于如何开发SSRS报告是一个自己的(非WPF)主题,不应该在这里讨论:


https://msdn.microsoft.com /en-us/ms159106.aspx?f=255&MSPPError=-2147217396
$
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices

About how to develop SSRS reports is a (non-WPF) topic of its own that should not be discussed here though:
https://msdn.microsoft.com/en-us/ms159106.aspx?f=255&MSPPError=-2147217396
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=sqlreportingservices

此致,

Bob