在程序中用代码把报表,生成一个word文档,但是一个table的最后一行不能打印出来,请问这是什么?

解决方案 »

  1.   

    <TD width="12%" height="18">到达时间:</TD>            <TD width="20%" height="18">&nbsp; 13:30            </TD>            <TD width="16%" height="18">等待时间:</TD>            <TD width="16%" height="18">&nbsp; 0            </TD>          </TR>          <TR>             <TD width="12%" height="18">完成日期:</TD>            <TD width="24%" height="18">&nbsp; 2005-3-2            </TD>            <TD width="12%" height="18">完成时间:</TD>            <TD width="20%" height="18">&nbsp; 17:30            </TD>            <TD width="16%" height="18">等待备件时间:</TD>            <TD width="16%" height="18">&nbsp; 0            </TD>          </TR>        </TABLE><br><br>      </TD>    </TR>    <TR>       <TD>         <TABLE width="700" border="1" cellspacing="0" cellpadding="2" height="100%" align="center">          <TR>             <TD width="12%" height="18">故障模块:</TD>            <TD height="18" width="24%">&nbsp; 无故障            </TD>            <TD height="18" width="12%">交易计数:</TD>            <TD height="18" colspan="3">&nbsp; 3            </TD>          </TR>          <TR>             <TD width="12%" height="18">问题代码:</TD>            <TD width="24%" height="18">&nbsp; J13            </TD>            <TD width="12%" height="18">维修代码:</TD>            <TD width="20%" height="18"> &nbsp; Z11            </TD>            <TD width="16%" height="18">是否停机:</TD>            <TD width="16%" height="18">               <INPUT type="checkbox" name="checkbox" disabled value="1"   checked  >             </TD>           </TR>           <TR valign="top">              <TD colspan="6" height="40">               故障情况/维修内容:<br> <pre>PM </pre>             </TD>           </TR>           <TR>              <TD colspan="3" height="18">未完成维修:  <input type="checkbox" name="checkbox32" value="checkbox"  disabled  unchecked >             </TD>             <TD width="20%" height="18">后续任务号:</TD>             <TD colspan="2" height="18">&nbsp;               </TD>           </TR>         </TABLE><br><br>       </TD>     </TR>     <tr>        <td>          <table width="700" border="1" cellpadding="2" cellspacing="0" align="center" >           <tr>              <td width="26%" align=center height="18">材料编号</td>             <td width="22%" align=center height="18">材料名称</td>             <td width="7%" align=center height="18">数量</td>             <td width="19%" align=center height="18">序号</td>             <td width="11%" align=center height="18">动作码</td>             <td width="15%" align=center height="18">仓库</td>           </tr><tr><td height="18" align=center><font size = "none">&nbsp;00050496000A</font></td><td height="18" align=center><font size = "none">&nbsp;通用打印色带</font></td><td height="18" align=center><font size = "none">&nbsp;2</font></td><td height="18" align=center><font size = "none">&nbsp;</font></td><td height="18" align=center><font size = "none">&nbsp;replaced</font></td><td height="18" align=center><font size = "none">&nbsp;W10A</font></td></tr><tr><td height="18" align=center><font size = "none">&nbsp;49009303000B</font></td><td height="18" align=center><font size = "none">&nbsp;新b版挖钞轮</font></td><td height="18" align=center><font size = "none">&nbsp;3</font></td><td height="18" align=center><font size = "none">&nbsp;</font></td><td height="18" align=center><font size = "none">&nbsp;replaced</font></td><td height="18" align=center><font size = "none">&nbsp;W10A</font></td></tr><tr><td height="18" align=center><font size = "none">&nbsp;49016962000D</font></td><td height="18" align=center><font size = "none">&nbsp;新版剥皮轮保护架</font></td><td height="18" align=center><font size = "none">&nbsp;3</font></td><td height="18" align=center><font size = "none">&nbsp;</font></td><td height="18" align=center><font size = "none">&nbsp;replaced</font></td><td height="18" align=center><font size = "none">&nbsp;W10A</font></td></tr><tr><td height="18" align=center><font size = "none">&nbsp;49016968000F</font></td><td height="18" align=center><font size = "none">&nbsp;新版剥皮轮</font></td><td height="18" align=center><font size = "none">&nbsp;
      

  2.   

    你是把数据弄成string来操作的吧~程序在赋值的时候有问题吧~?!