开发者

C# Microsoft Report from datatable object

开发者 https://www.devze.com 2022-12-12 23:30 出处:网络
I would like to use the Microsoft Report Viewer component to view a report created from a programatically filled datatable.

I would like to use the Microsoft Report Viewer component to view a report created from a programatically filled datatable.

开发者_运维问答I have been looking for a while but the only information I can find is for reporting on information from a database.


You can definitely do that - if you programmatically control the Report viewer control (in Winforms or ASP.NET).

See these resources for some help and guidance:

  • MSDN: Creating Data Sources for a Report
  • ReportViewer Set DataTable as DataSource (VB.NET)


you can use visual studio to create and then deploy your report. After having created a project for Microsoft Reporting Server, you should add a datasource to it (this is to say where u want to connect to), then open report data view where you can create a query. This allow u to drag & drop fields on your report.

Hope this was what u intended to

0

精彩评论

暂无评论...
验证码 换一张
取 消