还是不行呀!老师
提示如下:
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'
ODBC 驱动程序不支持所需的属性。
我的源代码:
<%
set rs=server.CreateObject("adodb.recordset")
sql="select sum(BANKNOTE) as BANKNOTE1,sum(LETTER) as LETTER1, sum(WEIGHT) as WEIGHT1,sum(MONEY) as MONEY1,sum(ASSURANCEMONEY) as ASSURANCEMONEY1 FROM ESDISPATCH WHERE DATA like #"&date()&"# AND DateDiff(second,'16:00:00',TIME)>=1 AND DESTINATION like '北京'"
rs.open sql,conn,1,1
%>
<td nowrap><div align="center" class="style20"><%=rs("BANKNOTE1")%> 票</div></td>
<td nowrap><div align="center" class="style20"><%=rs("LETTER1")%> 件</div></td>
<td nowrap><div align="center" class="style20"><%=rs("WEIGHT1")%> KG</div></td>