日期:2014-05-17  浏览次数:20718 次

高手帮忙整合2条查询!(完成立刻结单)
<html>

<head>
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<title> 合并2个查询... </title>
</head>

<body>
  <%  
  set   rs=server.createobject( "adodb.recordset ")
  sqltext= "select   *   from   table1     order   by   retime   desc "

rs.open   sqltext,conn,1,1%>


                        <TABLE   cellSpacing=1   cellPadding=4   width= "99% "     height= "32 "   class= "text ">
                            <TBODY>
                            <tr>
                                </form>
</tr>

<table   cellspacing= "1 "   cellpadding= "0 "   width= "985 "   align= "center "   border= "0 "   class= "a3 "   >
                                        <tr   c>
                           
                                            <td   align= "center "   height= "22 "   class= "a1 ">
工作单号 </td>
                                            <td       align= "center "   height= "22 "   class= "a1 ">
客户 </td>
                                            <td     align= "center "   height= "22 "   class= "a1 ">
数量 </td>
                                            <td   align= "center "   height= "22 "   class= "a1 ">
时间 </td>
                                            <td   align= "center "   height= "22 "   class= "a1 ">
号码 </td>
                                        </tr>
<%
if   not   rs.eof   then
    i=0
    do   while   not   rs.eof  
%>  


                         
  &