读取嵌入的资源 水晶报表rpt 大家给点力
请问如何
//打印功能
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");