自定义报告视图控件设计 [英] Custom Report viever control design
本文介绍了自定义报告视图控件设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在excel中有一个标准表单,但我应该将它与报表查看器控件一起使用。我把它保存为xml,但是当我将它全部添加到报表查看器时,它没有显示它。
如何在报表查看器中使用Excel电子表格设计?或者我可以吗?
我正在使用Microsoft Report Viewer控件(RLDC)。
Hi, i have a standard form in excel, but i should use it with report viewer control. i've saved it as xml, but when i added it throughly to report viewer, it didnt show it.
How can i use an excel spreadsheet design in report viewer ? Or can i ?
I'm using Microsoft Report Viewer control (RLDC).
推荐答案
你好。 ReportViewer控件可显示的报告采用RDL格式(.rdl或.rdlc文件)。如果要对Excel数据使用ReportViewer控件,请使用Excel数据在VS中创建DataSet项,然后在项目中创建一个报表项以使用DataSet,然后使用ReportViewer控件显示该报表。
Hi there. The reports displayable by the ReportViewer control are in the RDL format (.rdl or .rdlc files). If you want to use the ReportViewer control for your Excel data, create a DataSet item in VS using the Excel data, then create a Report item in the project to use the DataSet, then display that report using the ReportViewer control.
这篇关于自定义报告视图控件设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文