CrystalReportViewer的属性窗口中为什么找不到ReportSource属性,只有ReportSourceID
在水晶报表的使用教程中有这么几个步骤:
1)从WebForm工具栏中拖动水晶报表查看器控件(Crystal Report Viewer)至.aspx页面中。
2) 调出水晶报表查看器控件的属性窗口
3) 点击[...]按钮查看"Data Binding"属性,并弹出了DataBinding窗口。
4) 从左边的"Bindable属性”区中选择“Report Source”
5) 选中"自定义绑定表达式"单选按钮,在右边的底部的窗口中指定.rpt文件的文件名和路径,例如:"C:\\Program Files\\Microsoft Visual
Studio.NET\\Crystal Reports\\Samples\\Reports\\General Business\\World Sales Report.rpt",然后”确定“
[b问题:使用的是VS2005自带的水晶报表,为什么属性窗口中只能找到ReportSourceID属性,而没有ReportSource属性,从哪
里才能找到b]