锘??xml version="1.0" encoding="utf-8" standalone="yes"?>av剧情在线观看,欧美一二三在线,亚洲成人av一区二区三区http://www.aygfsteel.com/kevinyao/zh-cnTue, 17 Jun 2025 15:44:12 GMTTue, 17 Jun 2025 15:44:12 GMT60WEB寮鍙戜腑姘存櫠鎶ヨ〃鐨勪嬌鐢ㄥ績寰?/title><link>http://www.aygfsteel.com/kevinyao/archive/2005/01/18/414.html</link><dc:creator>Kevin Yao</dc:creator><author>Kevin Yao</author><pubDate>Tue, 18 Jan 2005 00:48:00 GMT</pubDate><guid>http://www.aygfsteel.com/kevinyao/archive/2005/01/18/414.html</guid><wfw:comment>http://www.aygfsteel.com/kevinyao/comments/414.html</wfw:comment><comments>http://www.aygfsteel.com/kevinyao/archive/2005/01/18/414.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/kevinyao/comments/commentRss/414.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/kevinyao/services/trackbacks/414.html</trackback:ping><description><![CDATA[<P><STRONG><FONT size=1>[闇姹俔</FONT></STRONG></P> <P><FONT size=1>鏈榪戝湪欏圭洰寮鍙戣繃紼嬩腑錛屽鎴瘋姹傜敤Crystal Reports鐢熸垚pdf鏍煎紡鐨勬姤琛紝騫跺疄鐜拌嚜鍔ㄦ墦鍗板姛鑳姐?/FONT></P> <P><STRONG><FONT size=1>[瀹炴柦绱㈠紩]</FONT></STRONG></P> <P><FONT size=1>1銆佸垱寤烘按鏅舵姤琛紱</FONT></P> <P><FONT size=1>2銆丣ava涓埄鐢ㄦ姤琛ㄧ粍浠跺寘灝嗘姤琛ㄧ粨鏋滅敓鎴恜df錛?/FONT></P> <P><FONT size=1>3銆佸畬鎴愯嚜鍔ㄦ墦鍗板姛鑳姐?/FONT></P> <P><STRONG><FONT size=1>[璇︾粏姝ラ]</FONT></STRONG></P> <P><FONT size=1>1銆佸垱寤烘按鏅舵姤琛?/FONT></P> <P><FONT size=1>濡傛灉涓氬姟瑕佹眰姣旇緝澶嶆潅錛岃鍏堝垱寤轟復鏃惰〃鍜屽瓨鍌ㄨ繃紼嬶紝鍋囪DB鏄疧RACLE銆?/FONT></P> <P><FONT size=1>1.1銆佸垱寤轟復鏃惰〃</FONT></P> <P><FONT size=1>CREATE  global TEMPORARY TABLE  <EM>table_name_temporary</EM><BR>(  ......... ) on commit preserve rows;</FONT></P> <P><FONT size=1>娉細榪欑鏂瑰紡紜繚session涔嬮棿錛屾暟鎹簰涓嶅共鎵般?/FONT></P> <P><FONT size=1>1.2銆佸垱寤哄瓨鍌ㄨ繃紼?/FONT></P> <P><FONT size=1>鍒涘緩鍖呬綋錛屽寘浣撳唴澹版槑娓告爣銆?/FONT></P> <P><FONT size=1>鏍規嵁涓氬姟閫昏緫錛屽皢鏁版嵁淇濆瓨鍦ㄤ復鏃惰〃涓紝榪斿洖姘存櫠鎶ヨ〃鎵闇瑕佺殑緇撴灉闆嗐?/FONT></P> <P><FONT size=1>1.3銆佸垱寤烘按鏅舵姤琛?/FONT></P> <P><FONT size=1>浠ュ瓨鍌ㄨ繃紼嬪仛涓烘暟鎹簮錛屽垱寤烘按鏅舵姤琛ㄣ?/FONT></P> <P><FONT size=1>2銆丣ava涓埄鐢ㄦ姤琛ㄧ粍浠跺寘灝嗘姤琛ㄧ粨鏋滅敓鎴恜df</FONT></P> <P><FONT size=1>       涓昏姝ラ濡備笅錛?/FONT></P> <P><FONT size=1>       錛?錛夌櫥褰旵rystalEnterprise錛?/FONT></P> <P><FONT size=1>       錛?錛夎緗畆eport鍙傛暟錛屾绱eport錛?/FONT></P> <P><FONT size=1>      錛?錛夌櫥褰旸B Server錛?/FONT></P> <P><FONT size=1>       錛?錛夎緭鍑虹粨鏋滃埌pdf銆?/FONT></P> <P><FONT size=1>        涓昏浠g爜濡備笅錛?/FONT></P> <P><FONT size=1>       IEnterpriseSession enterpriseSession = null;<BR>          ReportClientDocument clientDoc = null;</FONT></P> <P><FONT size=1>            ISessionMgr sessionMgr = CrystalEnterprise.getSessionMgr();<BR>            enterpriseSession = sessionMgr.logon(<BR>                    RAS_ADMINISTRATOR,<BR>                    RAS_ADMIN_PWD, RASServer,<BR>                    RAS_SEC);<BR>            IInfoStore iStore = (IInfoStore) enterpriseSession<BR>                    .getService(EAPTPrintConstants.RAS_INFOSTORE);<BR>            IReportAppFactory reportAppFactory = (IReportAppFactory) enterpriseSession<BR>                    .getService(EAPTPrintConstants.RAS_REPORT_FACTORY);<BR>            String query = "Select SI_ID From CI_INFOOBJECTS Where SI_NAME = '"<BR>                    + reportname + "' And SI_INSTANCE = 0 ";<BR>            IInfoObjects result = null;<BR>            try {<BR>                result = iStore.query(query);<BR>            } catch (SDKException e) {<BR>                e.printStackTrace();<BR>            }<BR>            IInfoObject firstResult = (IInfoObject) result.get(0);</FONT></P> <P><FONT size=1></FONT></P> <P><FONT size=1>            clientDoc = reportAppFactory.openDocument(firstResult, 0,<BR>                    Locale.ENGLISH);</FONT></P> <P><FONT size=1>            //logon to DataBase<BR>            DatabaseController db = clientDoc.getDatabaseController();</FONT></P> <P><FONT size=1>           // need to transfer arguments</FONT></P> <P><FONT size=1>            db.logonEx(dbServer, sid, username,<BR>                    password);</FONT></P> <P><FONT size=1>            clientDoc.refreshReportDocument();</FONT></P> <P><FONT size=1>            this.setParameters(clientDoc, map); </FONT></P> <P><FONT size=1>            ByteArrayInputStream byteIS = (ByteArrayInputStream) clientDoc<BR>                    .getPrintOutputController().export(ReportExportFormat.PDF);</FONT></P> <P><FONT size=1>            byte byteArray[] = new byte[byteIS.available()];<BR>            FileOutputStream fileOS = new FileOutputStream(filename);<BR>            ByteArrayOutputStream byteOS = new ByteArrayOutputStream(byteIS<BR>                    .available());<BR>            int x = byteIS.read(byteArray, 0, byteIS.available());<BR>            byteOS.write(byteArray, 0, x);<BR>            byteOS.writeTo(fileOS);<BR>            byteOS.close();<BR>            fileOS.close();</FONT></P> <P><FONT size=1>3銆佸畬鎴愯嚜鍔ㄦ墦鍗板姛鑳?/FONT></P> <P><FONT size=1>      (1) 鍒╃敤Itext鎶鏈噸鏂板鐞唒df錛屽湪宸茬敓鎴愮殑pdf閲屽姞涓婁互涓嬩唬鐮侊細</FONT></P> <P><FONT size=1>        String js = "var pp = this.getPrintParams();\n";<BR>        js = js + "var fv = pp.constants.flagValues;\n";<BR>        js = js + "pp.flags = fv.setPageSize;\n";<BR>        js = js + "pp.interactive = pp.constants.interactionLevel.automatic;\n";<BR>        js = js + "pp.printerName = \"" + printer + "\";\n";<BR>        js = js + "this.print(pp);\n";</FONT></P> <P><FONT size=1>      (2)jsp涓渶瑕両Frame鏍囩錛岀劧鍚庤嚜鍔ㄨ皟鐢⊿ervlet錛屽湪servlet閲屽皢pdf杈撳嚭鏉ワ紝鐩存帴杈撳嚭鍒版墦鍗版満涓娿?/FONT></P><img src ="http://www.aygfsteel.com/kevinyao/aggbug/414.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kevinyao/" target="_blank">Kevin Yao</a> 2005-01-18 08:48 <a href="http://www.aygfsteel.com/kevinyao/archive/2005/01/18/414.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <a href="http://www.aygfsteel.com/" title="狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频">狠狠久久亚洲欧美专区_中文字幕亚洲综合久久202_国产精品亚洲第五区在线_日本免费网站视频</a> </div> </footer> 主站蜘蛛池模板: <a href="http://" target="_blank">淮安市</a>| <a href="http://" target="_blank">安塞县</a>| <a href="http://" target="_blank">玉林市</a>| <a href="http://" target="_blank">包头市</a>| <a href="http://" target="_blank">云阳县</a>| <a href="http://" target="_blank">夏邑县</a>| <a href="http://" target="_blank">津市市</a>| <a href="http://" target="_blank">宁国市</a>| <a href="http://" target="_blank">丹巴县</a>| <a href="http://" target="_blank">石嘴山市</a>| <a href="http://" target="_blank">安乡县</a>| <a href="http://" target="_blank">台北市</a>| <a href="http://" target="_blank">江口县</a>| <a href="http://" target="_blank">家居</a>| <a href="http://" target="_blank">土默特右旗</a>| <a href="http://" target="_blank">阳泉市</a>| <a href="http://" target="_blank">吉安县</a>| <a href="http://" target="_blank">夏津县</a>| <a href="http://" target="_blank">博罗县</a>| <a href="http://" target="_blank">梁平县</a>| <a href="http://" target="_blank">呈贡县</a>| <a href="http://" target="_blank">治县。</a>| <a href="http://" target="_blank">县级市</a>| <a href="http://" target="_blank">玉屏</a>| <a href="http://" target="_blank">青海省</a>| <a href="http://" target="_blank">渭源县</a>| <a href="http://" target="_blank">从江县</a>| <a href="http://" target="_blank">珲春市</a>| <a href="http://" target="_blank">宁强县</a>| <a href="http://" target="_blank">老河口市</a>| <a href="http://" target="_blank">安达市</a>| <a href="http://" target="_blank">大同县</a>| <a href="http://" target="_blank">龙山县</a>| <a href="http://" target="_blank">东丽区</a>| <a href="http://" target="_blank">涟水县</a>| <a href="http://" target="_blank">云南省</a>| <a href="http://" target="_blank">汽车</a>| <a href="http://" target="_blank">金寨县</a>| <a href="http://" target="_blank">许昌县</a>| <a href="http://" target="_blank">新乐市</a>| <a href="http://" target="_blank">阜城县</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>