读取嵌入的资源 水晶报表rpt 大家给点力

xuwei80048138 xuwei80048138 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
请问如何

//打印功能
PrintDocument printDt = new PrintDocument();//打印文档对象
ReportDocument rd= new ReportDocument();//报表对象
string strRdFile= Application.StartupPath + "/门诊挂号.rpt";
rd.Load(strRdFile);

//如果是以下的读取嵌入的资源如何读取
Assembly asm = Assembly.GetExecutingAssembly();//读取嵌入式资源
Stream sm = asm.GetManifestResourceStream("His.Clinic.门诊挂号.rpt");

...全文
评论 2
收藏 已收藏
分享
返回顶部
xuwei80048138
图表区 4,818 成员 14,133 内容