主题:麻烦各位看看。谢谢!
<form name=rzlForm action="pageProc.jsp" method="post">
<table width="32%" border="1" height="31" cellspacing=1 align="center">
<tr align="center" bgcolor="#dddddd" height=30>
<td height="22" bgcolor="#dddddd">片区名称</td>
<td height="22">估产量(吨)</td>
<td height="22">入榨量(吨)</td>
</tr>
<%!ResultSet rs01=null;%>
<%
try
{
rs01=dbBean.executeQuery("select field,sum(ruYield)from peasantInfo GROUP BY field ");
while (rs01.next())
{
String NAME_PQ;
NAME_PQ=getStr(rs01.getString("field"));
%>
<tr align="center" bgcolor="#dddddd" height=30>
<td width="9%" height="22" bgcolor="#dddddd" ><%=rs01.getString(1)%> </td>
<td width="9%" height="22" bgcolor="#FFFFFF" ><%=rs01.getFloat(2)%> </td>
<td width="9%" height="22" bgcolor="#dddddd" >
<%out.print("<input type='text' size='12' [size=6] [color=FF0000]name="+NAME_PQ[/color] [/size]+" value='' onkeydown='onlyNum()'>");%>
</td>
</tr>
<% }
}
catch(Exception e){}
rs01.close();
%>
</table>
<div align="center">
<p>
<Input type="submit" name="submitOK" value="确定">
<Input type="reset" name="重填" value="重填">
</p>
</div>
</form>
如何在其它表单获取这个又红又大的东东!
<table width="32%" border="1" height="31" cellspacing=1 align="center">
<tr align="center" bgcolor="#dddddd" height=30>
<td height="22" bgcolor="#dddddd">片区名称</td>
<td height="22">估产量(吨)</td>
<td height="22">入榨量(吨)</td>
</tr>
<%!ResultSet rs01=null;%>
<%
try
{
rs01=dbBean.executeQuery("select field,sum(ruYield)from peasantInfo GROUP BY field ");
while (rs01.next())
{
String NAME_PQ;
NAME_PQ=getStr(rs01.getString("field"));
%>
<tr align="center" bgcolor="#dddddd" height=30>
<td width="9%" height="22" bgcolor="#dddddd" ><%=rs01.getString(1)%> </td>
<td width="9%" height="22" bgcolor="#FFFFFF" ><%=rs01.getFloat(2)%> </td>
<td width="9%" height="22" bgcolor="#dddddd" >
<%out.print("<input type='text' size='12' [size=6] [color=FF0000]name="+NAME_PQ[/color] [/size]+" value='' onkeydown='onlyNum()'>");%>
</td>
</tr>
<% }
}
catch(Exception e){}
rs01.close();
%>
</table>
<div align="center">
<p>
<Input type="submit" name="submitOK" value="确定">
<Input type="reset" name="重填" value="重填">
</p>
</div>
</form>
如何在其它表单获取这个又红又大的东东!