强类型“水晶报表”的实例为什么还出现“无法找到清单资源中的报告。请创建项目并再次尝试”的错误
bobit 2004-06-13 07:33:21 用VS.net2003自带的水晶报表设计了一个绑定*.xsd的报表 CustomReport
CustomReport customReport = new CustomReport();
//这样却不能访问 customReport 的任何成员,都触发“无法找到清单资源中的报告。请创建项目并再次尝试”的异常。
ReportDocument customReport = new ReportDocument();
customReport.Load("...\CustomReport.rpt");
//一切正常
难道必须把 *.rpt文件 部署到客户机器上。那么使用强类型的水晶报表还有何意义。