|
|
|
ช่วยด้วยปัญหา asp.net กับการ deploy โดยที่ใช้ crystal report on vs.net 2008 ครับ |
|
|
|
|
|
|
|
เหมือนหา resource file ไม่เจอเลยเนอะ
|
|
|
|
|
Date :
2010-04-22 23:05:43 |
By :
tungman |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
รบกวนช่วยหน่อยครับ อันนี้ผมไม่ทราบจริงๆ ลอง add dll ไฟล์ที่เกี่ยวกับ crystal report ก็แล้ว ผลก็ยังเหมือนเดิม ช่วยหน่อยครับ
|
|
|
|
|
Date :
2010-04-23 00:11:58 |
By :
wizard00 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ลองคลิก view source ดูหน่อยสิครับ
|
|
|
|
|
Date :
2010-04-23 08:29:00 |
By :
tungman |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Code ครับ
Code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head><title>
รายงานงบประมาณประจำปีแบบสรุป
</title></head>
<body>
<form name="form1" method="post" action="ReportForm.aspx" id="form1">
<div>
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__LASTFOCUS" id="__LASTFOCUS" value="" />
</div>
<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['form1'];
if (!theForm) {
theForm = document.form1;
}
function __doPostBack(eventTarget, eventArgument) {
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
theForm.__EVENTTARGET.value = eventTarget;
theForm.__EVENTARGUMENT.value = eventArgument;
theForm.submit();
}
}
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
function ScrollToCrystalHighLighted() {
var highlighted = document.getElementById('CrystalHighLighted');
if(highlighted != null)
{
var offset = highlighted.offsetTop;
var myOffsetParent = highlighted.offsetParent;
while( myOffsetParent )
{
offset += myOffsetParent.offsetTop;
myOffsetParent = myOffsetParent.offsetParent;
}
window.scrollTo( 0, offset);
}
}//]]>
</script>
<div>
<table id="CReportViewer1" cellpadding="0" cellspacing="0" style="display:inline-block;height:1106px;width:876px;">
<tr><td>
<div style="width: 876px; height: 1106px;position:relative">
<LINK rel="stylesheet" type="text/css" href="/aspnet_client/System_Web/2_0_50727/CrystalReportWebFormViewer4/css/default.css"><A HREF="#tree" TITLE="Go to Report Group Tree"></A><A HREF="#page" TITLE="Go to Report Page Content"></A><div class="crtoolbar" style="display:inline-block;height:26px;width:876px;top:0px;left:0px;">
<table cellspacing=0 cellpadding=0><tr nowrap>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl00" title="Export" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/export.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/export_over.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/export.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl01" title="Print" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/print.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/print_over.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/print.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl03" title="Show/Hide Group Tree" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/grouptree.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/grouptree_over.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/grouptree.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl04" disabled="disabled" title="First" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/firstd.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/firstd.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/firstd.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=4> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl05" disabled="disabled" title="Prev" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/prevd.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/prevd.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/prevd.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl06" disabled="disabled" title="Next" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/nextd.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/nextd.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/nextd.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl07" disabled="disabled" title="Last" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/lastd.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/lastd.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/lastd.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=4> </td><td nowrap valign=middle align=center width=60px><span style="display:inline-block;width:60px;">1 / 1</span></td>
<td nowrap width=8> </td><td nowrap width=40px><input name="CReportViewer1$ctl02$ctl09" type="text" title="Go To" class="crtoolbartextbox" onkeypress="if ((event.which && event.which == 13) || (event.keyCode && event.keyCode == 13)) { document.getElementById('CReportViewer1_ctl02_ctl10').click(); return false;}" style="height:16px;width:40px;" /></td>
<td nowrap width=1> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl10" id="CReportViewer1_ctl02_ctl10" title="Go To" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/gotopage.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/gotopage_over.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/gotopage.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=><select name="CReportViewer1$ctl02$ctl11" onchange="javascript:setTimeout('__doPostBack(\'CReportViewer1$ctl02$ctl11\',\'\')', 0)" title="View History" class="crtoolbarlist" style="height:22px;">
<option selected="selected" value="AAEAAAD/////AQAAAAAAAAAEAQAAABxTeXN0ZW0uQ29sbGVjdGlvbnMuSGFzaHRhYmxlBwAAAApMb2FkRmFjdG9yB1ZlcnNpb24IQ29tcGFyZXIQSGFzaENvZGVQcm92aWRlcghIYXNoU2l6ZQRLZXlzBlZhbHVlcwAAAwMABQULCBxTeXN0ZW0uQ29sbGVjdGlvbnMuSUNvbXBhcmVyJFN5c3RlbS5Db2xsZWN0aW9ucy5JSGFzaENvZGVQcm92aWRlcgjsUTg/AwAAAAoKCwAAAAkCAAAACQMAAAAQAgAAAAMAAAAGBAAAAA5MYXN0UGFnZU51bWJlcgYFAAAAFUlzTGFzdFBhZ2VOdW1iZXJLbm93bgYGAAAAClBhZ2VOdW1iZXIQAwAAAAMAAAAICAEAAAAIAQEICAEAAAAL">Main Report</option>
</select></td>
<td nowrap width=8> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl12" disabled="disabled" title="Up" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/upd.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/upd.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/upd.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=95px><input name="CReportViewer1$ctl02$ctl13" type="text" title="Find" class="crtoolbartextbox" onkeypress="if ((event.which && event.which == 13) || (event.keyCode && event.keyCode == 13)) { document.getElementById('CReportViewer1_ctl02_ctl14').click(); return false;}" style="height:16px;width:95px;" /></td>
<td nowrap width=1> </td><td nowrap width=22px><input type="image" name="CReportViewer1$ctl02$ctl14" id="CReportViewer1_ctl02_ctl14" title="Find" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/search.gif" onmouseover="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/search_over.gif'" onmouseout="this.src='/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/search.gif'" style="height:22px;width:22px;border-width:0px;" /></td>
<td nowrap width=8> </td><td nowrap width=><select name="CReportViewer1$ctl02$ctl15" onchange="javascript:setTimeout('__doPostBack(\'CReportViewer1$ctl02$ctl15\',\'\')', 0)" title="Zoom" class="crtoolbarlist" style="height:22px;">
<option value="25">25%</option>
<option value="50">50%</option>
<option value="75">75%</option>
<option selected="selected" value="100">100%</option>
<option value="125">125%</option>
<option value="150">150%</option>
<option value="200">200%</option>
<option value="300">300%</option>
<option value="400">400%</option>
</select></td>
<td nowrap width=8> </td><td nowrap width=78px><a title="powered by Business Objects" href="http://www.businessobjects.com/" style="display:inline-block;height:22px;width:78px;"><img title="powered by Business Objects" src="/aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/crlogo.gif" style="border-width:0px;" /></a></td>
<td nowrap width="100%"></td>
</tr></table>
</div><A NAME="tree"></A>
<A NAME="page"></A>
<script>
ie4up=false;
var agt = navigator.userAgent.toLowerCase();
var major = parseInt(navigator.appVersion);
if ((agt.indexOf('msie') != -1) && (major >= 4))
ie4up = true;
</script>
<script language="javascript">
<!--
function doGraphDrilldown_CReportViewer1$ctl04(event, name, brch, offsetX, offsetY, pageNumber, nextpart) {
if (ie4up)
javascript:__doPostBack('CReportViewer1$ctl04','name=' + name + '&brch=' + brch + '&coord=' + (event.offsetX*15 / 1
+parseInt(offsetX)) + '-' + (event.offsetY*15 / 1 +parseInt(offsetY)) +
'&pagenumber=' + pageNumber + '&nextpart=' + nextpart)
else
javascript:__doPostBack('CReportViewer1$ctl04','name=' + name + '&brch=' + brch + '&coord=' + (event.layerX*15 / 1
+parseInt(offsetX)) + '-' + (event.layerY*15 / 1 +parseInt(offsetY)) +
'&pagenumber=' + pageNumber + '&nextpart=' + nextpart)
}
// -->
</script>
<style>
div.crystalstyle div {position:absolute; z-index:25}
div.crystalstyle a {text-decoration:none}
div.crystalstyle a img {border-style:none; border-width:0}
.fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0 {font-size:15pt;color:#000000;font-family:Cordia New;font-weight:normal;}
.fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1 {font-size:13pt;color:#000000;font-family:Cordia New;font-weight:normal;}
.fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-2 {font-size:13pt;color:#000000;font-family:Cordia New;font-weight:bold;}
.fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-3 {font-size:15pt;color:#000000;font-family:Cordia New;font-weight:bold;}
.ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0 {border-color:#000000;border-left-width:0;border-right-width:0;border-top-width:0;border-bottom-width:0;}
</style>
<div class="crystalstyle" style="width:751px;height:1072px;position:absolute;top:34px;left:133px">
<div id="Line1" style="z-index:15;top:84px;left:4px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:734px;">
</div>
<div id="Line2" style="z-index:15;top:121px;left:5px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:734px;">
</div>
<div id="Line3" style="z-index:15;top:197px;left:5px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:736px;">
</div>
<div id="Line4" style="z-index:15;top:219px;left:6px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:736px;">
</div>
<div id="Line7" style="z-index:15;top:241px;left:8px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:736px;">
</div>
<div id="Line6" style="z-index:15;top:270px;left:7px;border-color:#000000;border-style:solid;border-width:0px;border-top-width:1px;width:734px;">
</div>
<div id="Section2" style="z-index:3;clip:rect(0px,746px,123px,0px);top:0px;left:0px;width:746px;height:123px;">
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:10px;left:217px;width:324px;height:26px;">
<div align="center" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">รายงานงบประมาณประจำปี ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">2553 ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">(‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">Actual‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">)‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:63px;left:8px;width:311px;height:22px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">พิมพ์วันที่ ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">4‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">/‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">23‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">/‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">2010 ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">เวลา ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">9‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">:‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">09‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">:‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">10‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">AM‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:63px;left:480px;width:256px;height:22px;">
<div align="right" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">หน้าที่ ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">1 ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">จาก ‎</span><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-1">1‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:91px;left:10px;width:125px;height:26px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">Budget Code‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:91px;left:142px;width:295px;height:26px;">
<div align="center" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">รายการ‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:91px;left:444px;width:90px;height:26px;">
<div align="center" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">จำนวน‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:91px;left:537px;width:90px;height:26px;">
<div align="center" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">ราคาต่อหน่วย‎</span></div></div>
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:91px;left:630px;width:100px;height:26px;">
<div align="center" style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0">ราคารวม‎</span></div></div>
</div>
<div id="GroupHeaderSection1" style="z-index:3;clip:rect(0px,746px,26px,0px);top:123px;left:0px;width:746px;height:26px;">
</div>
<div id="GroupHeaderSection2" style="z-index:3;clip:rect(0px,746px,26px,0px);top:149px;left:0px;width:746px;height:26px;">
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:149px;left:12px;width:392px;height:26px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-0"> ‎</span></div></div>
</div>
<div id="Section3" style="z-index:3;clip:rect(0px,746px,22px,0px);top:175px;left:0px;width:746px;height:22px;">
</div>
<div id="GroupFooterSection2" style="z-index:3;clip:rect(0px,746px,23px,0px);top:197px;left:0px;width:746px;height:23px;">
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:197px;left:148px;width:43px;height:21px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-2">รวม‎</span></div></div>
</div>
<div id="GroupFooterSection1" style="z-index:3;clip:rect(0px,746px,21px,0px);top:220px;left:0px;width:746px;height:21px;">
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:220px;left:122px;width:43px;height:21px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-2">รวม‎</span></div></div>
</div>
<div id="Section4" style="z-index:3;clip:rect(0px,746px,32px,0px);top:242px;left:0px;width:746px;height:32px;">
</div>
<div class="ade510afbb-3ac7-42be-94d6-a87ed7c77ac0-0" style="top:247px;left:92px;width:107px;height:23px;">
<div style="position:relative;padding-top:1px;padding-left:1px;line-height:1.00;"><div style="position:relative;"><span class="fc526b7b04-9fd8-48a9-bb06-ebd5e32b7307-3">รวมทั้งหมด‎</span></div></div>
</div>
</div>
</div>
</td></tr>
</table>
</div>
<div>
</div>
<script type="text/javascript">
//<![CDATA[
ScrollToCrystalHighLighted();//]]>
</script>
</form>
</body>
</html>
|
|
|
|
|
Date :
2010-04-23 09:14:46 |
By :
wizard00 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ผิดคาดแฮะ นึกว่า cystal report มันจะใช้ resource ซะอีก
งั้นลองตรวจดูว่าเอา project cystal report วางไว้ถูกที่หรือเปล่า
ในโค้ดมันบอกว่าอยู่นี้ /aspnet_client/system_web/2_0_50727/CrystalReportWebFormViewer4/images/toolbar/search_over.gif
ลองดูว่ามันมีไฟล์นี้อยู่หรือเปล่า
|
|
|
|
|
Date :
2010-04-23 09:49:09 |
By :
tungman |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ลองดูแล้วครับ ตาม path ก็มีไฟล์ที่บอกไว้นะครับ แต่เวลารันจริงๆ แล้วไม่ขึ้น ไม่รู้ต้อง add component อะไรเพิ่มเวลาที่ทำการ deploy หรือเปล่าครับ
|
|
|
|
|
Date :
2010-04-23 13:57:27 |
By :
wizard00 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://th.w3support.net/index.php?db=so&id=53347
|
|
|
|
|
Date :
2011-07-05 10:45:03 |
By :
spearo |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ผมเคยเจอปัญหานี้ แต่ผมก็ใช้วิธีการ สร้างปุ่มขึ้นมาใหม่แล้วสั่ง พิมพ์เอง ซะเลย
|
|
|
|
|
Date :
2011-07-05 20:27:34 |
By :
nong1210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ลองดูครับ ผมสร้างปุ่มขึ้นมาใหม่ แล้วสั่งให้มัน Export เป็น pdf ครับ แล้วถึง พิมพ์
เพราะยังไงซะตอนที่เราสั่งพิมพ์ผ่านเว็บ มันก็ พรีวิวให้เราเป็น pdf อยู่ดีถึงพิมได้
Code (C#)
MemoryStream oStream; // using System.IO
oStream = (MemoryStream)
report.ExportToStream(
CrystalDecisions.Shared.ExportFormatType.PortableDocFormat);
Response.Clear();
Response.Buffer = true;
Response.ContentType = "application/pdf";
//Response.ContentType = "application/vnd.ms-excel";//Excel
Response.BinaryWrite(oStream.ToArray());
Response.End();
|
|
|
|
|
Date :
2011-07-05 20:34:08 |
By :
nong1210 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
เอาง่ายๆๆเลยครับ Coppy folder aspnet_client ที่อยู่ใน C:\inetpub\wwwroot ไปไว้ในforderที่โปรเจ็คเราอยู่เลยครับ เพราะดูแล้วมันหาpathไม่เจอนะครับ
|
|
|
|
|
Date :
2011-07-05 21:52:04 |
By :
thaining |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ลองเปลี่ยน นามสกุลภาพเป็น png ดูครับ
|
|
|
|
|
Date :
2012-08-10 10:56:51 |
By :
sinseedsin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Load balance : Server 03
|