| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1643 人关注过本帖
标题:标准表达式中数据类型不匹配,显示错误位置在红色部分,我看不错错在哪里, ...
只看楼主 加入收藏
eournet
Rank: 2
等 级:论坛游民
帖 子:103
专家分:26
注 册:2010-5-22
结帖率:55.56%
收藏
已结贴  问题点数:20 回复次数:12 
标准表达式中数据类型不匹配,显示错误位置在红色部分,我看不错错在哪里,求组!
<%
'$Id: piliang.asp 2010-12-17 $

if request.Cookies("shiwei_username")="" then
%>
<script language="javascript">
top.location.href="../index.asp"
</script>
<%  
  response.end
end if
%>
<!-- #include file="../conn2.asp" -->
<!-- #include file="../const.asp" -->

<html>
<head>
<title><%=dianming%> - 导入记录查询</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../../../../style/style.css" rel="stylesheet" type="text/css">
<style>
body {
    background-color:#FFFFFF;
}
</style>
<script language="javascript">
function collapse(img, objName)
{
    var obj;
    obj = document.getElementById(objName);
    if (img.src.indexOf('open') != -1)
    {
        img.src = img.src.replace('open', 'close');
        obj.style.display = 'none';
    }
    else
    {
        img.src = img.src.replace('close', 'open');
        obj.style.display = '';
    }
}

function collapseall(img)
{
    var obj;
    if (img.src.indexOf('open') != -1)
    {
        img.src = img.src.replace('open', 'close');
        for (x=1;x<=<%=maxrecord%>;x++)
        {
            obj = document.getElementById("produit"+x);
            if (obj)
            {
                obj.style.display = 'none';
            }
        }
    }
    else
    {
        img.src = img.src.replace('close', 'open');
        for (x=1;x<=<%=maxrecord%>;x++)
        {
            obj = document.getElementById("produit"+x);
            if (obj)
            {
                obj.style.display = '';
            }
        }        
    }
}
</script>

<script language=javascript>
function preview() {
bdhtml=window.document.body.innerHTML;
sprnstr="<!--startprint-->";
eprnstr="<!--endprint-->";
prnhtml=bdhtml.substr(bdhtml.indexOf(sprnstr)+17);
prnhtml=prnhtml.substring(0,prnhtml.indexOf(eprnstr));
window.document.body.innerHTML=prnhtml;
window.print();
window.document.body.innerHTML=bdhtml;
         }
</script>
</HEAD>

<BODY>
<script>
function CheckAll(form)  {
  for (var i=0;i<form.elements.length;i++)    {
    var e = form.elements[i];
    if (e.name != 'chkall')       e.checked = form.chkall.checked;
   }
  }
</script>
<%
if fla13="0" and request.Cookies("shiwei_id")<>"1" then
%>
<br><center>
<img src="../images/note.gif" align="middle">&nbsp;<font color="#FF0000">你不具备此权限,请与管理员联系!</font></center>
<%  
  response.end
end if

if request("id_danwei")<>"" then
  conn.execute("update produit set id_danwei="&request("id_danwei")&" where huohao='"&request("huohao")&"'")
end if

'取得当前页码
currentpage=request("page")
'response.write currentpage
'response.end
if currentpage<1 or currentpage="" then
  currentpage="1"
end if

'取得搜索关键字  
nowstartdate=request("startdate")
if nowstartdate="" then
  nowstartdate=date()-day(date()-1)
end if
nowenddate=request("enddate")
if nowenddate="" then
  nowenddate=date()
end if
nowku=request("ku")
nowkeyword=request("keyword")
%>
<table width="100%" border="0" cellpadding="0" cellspacing="2" align="center">
<form name="form2">
  <tr>
    <td width="5%" height="21" valign="bottom"> </td>
    <td width="95%" align="right">
      开始日期:
      <input name="startdate" value="<%=nowstartdate%>" readonly style="width:100px">
      <img src="../images/date.gif" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:window.open('day.asp?form=form2&field=startdate&oldDate='+startdate.value,'','directorys=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=170,top=150,left=590');">
      结束日期:
      <input name="enddate" value="<%=nowenddate%>" readonly style="width:100px">
      <img src="../images/date.gif" align="absmiddle" style="cursor:pointer;" onClick="JavaScript:window.open('day.asp?form=form2&field=enddate&oldDate='+enddate.value,'','directorys=no,toolbar=no,status=no,menubar=no,scrollbars=no,resizable=no,width=250,height=170,top=150,left=740');">
    <%
    if request.Cookies("shiwei_id")="1" or fla88="1"  then
      sql="select * from ku order by id"
      set rs_ku=conn.execute(sql)
    else
      sql="select * from ku where instr(login,',"&request.Cookies("shiwei_id")&",')>0 order by id"
      set rs_ku=conn.execute(sql)
      if rs_ku.eof then
        nowku="0"
      elseif request("ku")="" then
        nowku=rs_ku("id")
      end if      
    end if  
    %>
      <select name="ku" onChange="form2.submit()" size="1">
    <%if request.Cookies("shiwei_id")="1" or fla88="1"  then%>
        <option>所有施工单位</option>
    <%elseif rs_ku.eof then%>
        <option value="0">没有你对口的施工单位</option>   
    <%end if%>
    <%
    do while rs_ku.eof=false
    %>
        <option value="<%=rs_ku("id")%>"<%if trim(cstr(rs_ku("id")))=nowku then%> selected="selected"<%end if%>><%=rs_ku("ku")%></option>
        <%
      rs_ku.movenext
    loop
    %>
      </select>      
      <input type="text" name="keyword" size="15" value="<%=nowkeyword%>">
      <input type="hidden" name="hid" value="ok">
      <input type="submit" value="查询" class="button">
        <span style="background-color: #FFFF00"><font color="#FF0000">
      <input type="button" value="批量导入" onClick="window.location.href='produit_pl.asp','批量导入所需录入的项目'" class="button"></font></span>

    </td>
  </tr>
</form>  
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#C4D8ED">
<tr>
<td>
<img src="../images/r_1.gif" alt="" /></td>
<td width="100%" background="../images/r_0.gif">
  <table cellpadding="0" cellspacing="0" width="100%">
    <tr>
      <td valign="bottom">&nbsp;<img src="../images/excel.jpg" align="middle" style="cursor:hand;" onClick="preview();window.close()"> 项目录入代办清单,请录入人员在此点击<b><font color="#FF0000">领取</font></b>录入任务后再进行GIS录入,请工程管理员在此页面将所需录入项目清单按照模板格式进行导入!</td>
      <td align="right"> </td>
    </tr>
  </table>
</td>
<td>
<img src="../images/r_2.gif" alt="" /></td>
</tr>
<tr>
<td nowrap></td>
<td nowrap>
<!--startprint-->
<table align="center" cellpadding="4" cellspacing="1" class="toptable grid" border="1">
<form name="form1" action="renwu_del.asp">
  <input type="hidden" name="startdate" value="<%=nowstartdate%>">
  <input type="hidden" name="enddate" value="<%=nowenddate%>">
  <input type="hidden" name="ku" value="<%=nowku%>">
  <input type="hidden" name="keyword" value="<%=nowkeyword%>">
  <input type="hidden" name="order1" value="<%=request("order1")%>">
  <input type="hidden" name="order2" value="<%=request("order2")%>">
  <input type="hidden" name="order3" value="<%=request("order3")%>">
  <input type="hidden" name="order4" value="<%=request("order4")%>">
  <input type="hidden" name="order5" value="<%=request("order5")%>">
  <input type="hidden" name="order6" value="<%=request("order6")%>">
  <input type="hidden" name="order7" value="<%=request("order7")%>">
  <input type="hidden" name="order8" value="<%=request("order8")%>">
  <input type="hidden" name="order9" value="<%=request("order9")%>">
  <input type="hidden" name="order10" value="<%=request("order10")%>">
  <input type="hidden" name="order11" value="<%=request("order11")%>">
  <input type="hidden" name="order12" value="<%=request("order12")%>">
  <input type="hidden" name="order13" value="<%=request("order13")%>">
  <input type="hidden" name="order14" value="<%=request("order14")%>">
  <input type="hidden" name="order15" value="<%=request("order15")%>">  
  <tr align="center">
       <td class="category" height="30" nowrap>
      <a href="?order1=<%if request("order1")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title">
        项目编号<%if request("order1")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>   
    </td>
    <td class="category" nowrap>
      <a href="?order4=<%if request("order4")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title">项目名称<%if request("order4")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <td class="category" nowrap>
      <a href="?order5=<%if request("order5")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title">导入时间<%if request("order5")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <td class="category" nowrap>
      <a href="?order7=<%if request("order7")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title">项目大类<%if request("order7")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <%if request.Cookies("shiwei_id")="1" or fla87="1" then%>
    <td class="category" nowrap>
      <a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>">
        项目小类</a><a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title"><%if request("order9")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <td class="category" nowrap>
      <a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>">
        施工单位</a><a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title"><%if request("order9")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <td class="category" nowrap>
      <a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>">
        负责人</a><a href="?order9=<%if request("order9")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title"><%if request("order9")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <%end if%>
    <td class="category" nowrap>
      <a href="?order10=<%if request("order10")="asc" then%>desc<%else%>asc<%end if%>&page=<%=currentpage%>&startdate=<%=nowstartdate%>&enddate=<%=nowenddate%>&ku=<%=nowku%>&keyword=<%=nowkeyword%>" class="title">
        领取<%if request("order10")="asc" then%><img src="../images/up2.gif" border="0" hspace="2" align="absmiddle"><%else%><img src="../images/down2.gif" border="0" hspace="2" align="absmiddle"><%end if%></a>
    </td>
    <%if fla5="1" or request.Cookies("shiwei_id")="1" then%>
    <td class="category" nowrap>改</td>
    <%end if%>
    <%if fla8="1" or request.Cookies("shiwei_id")="1" then%>
    <td class="category" nowrap>删</td>
    <%end if%>
  </tr>
  <%
  set rs_produit =server.createobject("ADODB.RecordSet")
  sql="select * from produit where id_danwei=113"
  if request.Cookies("shiwei_id")<>1  and fla89="0"  then
    sql=sql&" and id_login="&request.Cookies("shiwei_id")
  end if
  if nowstartdate<>"" then
    sql=sql&" and duihuan-#"&nowstartdate&"#>=0"
  end if  
  if nowenddate<>"" then
    sql=sql&" and duihuan-#"&nowenddate&"#<=0"
  end if
  if nowku<>"" then
    sql=sql&" and huohao in (select huohao from produit where id_danwei=113 and id_ku="&nowku&" )"
  end if  
  if nowkeyword<>"" then
    sql=sql&" and (huohao = '"&nowkeyword&"'  or huohao in (select huohao from produit where id_danwei=113 and (title like '%"&nowkeyword&"%' or huohao like '%"&nowkeyword&"%')))"
  end if

  if request("order1")<>"" then
    sql=sql&" order by huohao "&request("order1")
  elseif request("order2")<>"" then
    sql=sql&" order by title "&request("order2")
  elseif request("order3")<>"" then
    sql=sql&" order by duihuan "&request("order3")
  elseif request("order4")<>"" then
    sql=sql&" order by id_bigclass "&request("order4")
  elseif request("order5")<>"" then
    sql=sql&" order by id_smallclass "&request("order5")
  elseif request("order6")<>"" then
    sql=sql&" order by id_ku "&request("order6")
  elseif request("order7")<>"" then
    sql=sql&" order by guige "&request("order7")
  else
    sql=sql&" order by id_danwei desc"        
 
  end if
   
  rs_produit.open sql,conn,1,3
  if not rs_produit.eof then
  rs_produit.pagesize=maxrecord
  rs_produit.absolutepage=currentpage
  for currentrec=1 to rs_produit.pagesize
    if rs_produit.eof then
      exit for
    end if
  %>
  <tr onMouseOver="this.className='highlight'" onMouseOut="this.className=''" >
    <td align="center" height="25" nowrap><%=rs_produit("huohao")%></td>
    <td align="center" nowrap><%=rs_produit("title")%></td>
    <td align="center" nowrap><%=rs_produit("duihuan")%></td>
    <td align="center" nowrap>
    <%
      sql="select * from bigclass where id="&rs_produit("id_bigclass")
      set rs_bigclass=conn.execute(sql)
      %>
      <%if rs_bigclass.eof then%><%=rs_produit("id_bigclass")%><%else%><%=rs_bigclass("bigclass")%><%end if%>   
    </td>   
    <td align="center" nowrap>
    <%
      sql="select * from smallclass where id="&rs_produit("id_smallclass")
      set rs_smallclass=conn.execute(sql)
      %>
      <%if rs_smallclass.eof then%><%=rs_produit("id_smallclass")%><%else%><%=rs_smallclass("smallclass")%><%end if%>   
    </td>   
    <%if request.Cookies("shiwei_id")="1" or fla87="1" then%>
    <td align="center" nowrap >
      <%
      sql="select * from ku where id="&rs_produit("id_ku")
      set rs_ku=conn.execute(sql)
       sql="select * from danwei where id="&rs_produit("id_danwei")
      set rs_danwei=conn.execute(sql)
      sql="select * from produit where huohao='"&rs_produit("huohao")&"'"
          set rs_shulian=conn.execute(sql)
      nowshulian=0
      do while rs_shulian.eof=false
        nowshulian=nowshulian+rs_shulian("shulian")
        rs_shulian.movenext
      loop
      nowshulian7=nowshulian
      'if request("ku")<>"" then
      '  nowshulian=rs_produit("shulian")   
      'end if
      %>
      <%=rs_ku("ku")%></td>   
    <%end if%>
    <td align="center" nowrap><%=rs_produit("guige")%></td>
    <%if fla5="1" or request.Cookies("shiwei_id")="1" then%>
    <td align="center" nowrap>
    <img src="../../../../../../../../images/renwu.gif" align="middle" style="cursor:hand;" onClick="preview();window.close()" alt="点击领取相应任务后方可进行GIS数据录入"></td>
    <%end if%>
    <%if fla8="1" or request.Cookies("shiwei_id")="1" then%>
    <td align="center" nowrap>
    <img src="../../images/res.gif" border="0" hspace="2" align="middle" style="cursor:hand;" onClick="javascript:var win=window.open('renwumodi.asp?id=<%=rs_produit("id")%>','修改','width=853,height=470,top=176,left=161,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=yes'); win.focus()"></td>
    <%end if%>
  <td align="center" nowrap><input type="checkbox" name="ID" value="<%=rs_produit("huohao")%>" style="border:0"></td>
  </tr>
  <%
    sql="select * from produit where id_danwei=113 and zu=false and huohao='"&rs_produit("huohao")&"'"
    if nowku<>"" then
      sql=sql&" and id_ku="&nowku
    end if
    if nowkeyword<>"" then
      sql=sql&" and (huohao = '"&nowkeyword&"' or title like '%"&nowkeyword&"%' or huohao like '%"&nowkeyword&"%')"
      end if
  %>  
  <%   
    rs_produit.movenext
  next
  else
  %>
  <tr align="center" onMouseOver="this.className='highlight'" onMouseOut="this.className=''">
    <td colspan="12" height="25" align="center" style="color:red"><b>没有找到记录</b></td>
  </tr>
  <%
  end if
  %>
  <%
  if rs_produit.recordcount>0 then
  %>
  <tr>
    <td colspan="12" height="30" class="category">
    <table cellpadding=0 cellspacing=0 width="100%">
    <tr>
    <td width="20%" align="left" style="color:#FF0000;">&nbsp;双击查看打印单</td>  
    <td width="80%" align="right">
    &nbsp;&nbsp;
      <%=rs_produit.recordcount%>&nbsp;条信息&nbsp; 共&nbsp;<%=rs_produit.pagecount%>&nbsp;页&nbsp;
  <%
  nowstart=currentpage-3
  if nowstart<1 then
    nowstart=1
  end if
  nowend=currentpage+3
  if nowend>rs_produit.pagecount then
    nowend=rs_produit.pagecount
  end if
  response.write "&nbsp;<a href='?startdate="&nowstartdate&"&enddate="&nowenddate&"&ku="&nowku&"&keyword="&nowkeyword&"&page=1&order1="&request("order1")&"&order2="&request("order2")&"&order3="&request("order3")&"&order4="&request("order4")&"&order5="&request("order5")&"&order6="&request("order6")&"&order7="&request("order7")&"&order8="&request("order8")&"&order9="&request("order9")&"&order10="&request("order10")&"&order11="&request("order11")&"&order12="&request("order12")&"&order13="&request("order13")&"&order14="&request("order14")&"&order15="&request("order15")&"' class='page'>最前页</a>&nbsp;"
  for ipage=nowstart to nowend
    if cstr(ipage)=cstr(currentpage) then
      response.write "&nbsp;<span style='font-weight:bold;color:#5858E6'>" & ipage &"</span>&nbsp;"
    else
      response.write "&nbsp;[&nbsp;<a href='?startdate="&nowstartdate&"&enddate="&nowenddate&"&ku="&nowku&"&keyword="&nowkeyword&"&page="&ipage&"&order1="&request("order1")&"&order2="&request("order2")&"&order3="&request("order3")&"&order4="&request("order4")&"&order5="&request("order5")&"&order6="&request("order6")&"&order7="&request("order7")&"&order8="&request("order8")&"&order9="&request("order9")&"&order10="&request("order10")&"&order11="&request("order11")&"&order12="&request("order12")&"&order13="&request("order13")&"&order14="&request("order14")&"&order15="&request("order15")&"' class='page'>" & ipage &"</a>&nbsp;]&nbsp;"
    end if
  next
  response.write "&nbsp;<a href='?startdate="&nowstartdate&"&enddate="&nowenddate&"&ku="&nowku&"&keyword="&nowkeyword&"&page="&rs_produit.pagecount&"&order1="&request("order1")&"&order2="&request("order2")&"&order3="&request("order3")&"&order4="&request("order4")&"&order5="&request("order5")&"&order6="&request("order6")&"&order7="&request("order7")&"&order8="&request("order8")&"&order9="&request("order9")&"&order10="&request("order10")&"&order11="&request("order11")&"&order12="&request("order12")&"&order13="&request("order13")&"&order14="&request("order14")&"&order15="&request("order15")&"' class='page'>最后页</a>&nbsp;"
%>
    <select name="page" onChange="form1.action='?';form1.submit();">
<%
    for x=1 to rs_produit.pagecount
%>
      <option value="<%=x%>"<%if currentpage=trim(cstr(x)) then%> selected="selected"<%end if%>><%=x%></option>
<%   
    next
%>
    </select>
    <%if fla8="1" or request.Cookies("shiwei_id")="1" then%>
    <input name="chkall" type="checkbox" id="chkall" value="select" onClick="CheckAll(this.form)" style="border:0"> 全选
    <input type="submit" value="删 除" onClick="return confirm('此操作无法恢复!!!请慎重!!!\n\n确定要删除所选择的导入记录吗?')" class="button">
    <%end if%>
  </td>
  </tr></table></td></tr>
<%end if%>
</form>   
</table>
<!--endprint-->
</td>
<td nowrap></td>
</tr>
<tr>
<td>
<img src="../images/r_4.gif" alt="" /></td>
<td></td>
<td>
<img src="../images/r_3.gif" alt="" /></td>
</tr>
</table>
</body>
</html>
搜索更多相关主题的帖子: javascript content style 表达式 link 
2010-12-27 20:52
eournet
Rank: 2
等 级:论坛游民
帖 子:103
专家分:26
注 册:2010-5-22
收藏
得分:0 
各位大侠帮忙看看啊
2010-12-28 21:20
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:5 
SQL有错误,数据类型不匹配,写一下生成的SQL语句的内容

----我怎能在别人的苦难面前转过脸去----
2010-12-29 08:57
eournet
Rank: 2
等 级:论坛游民
帖 子:103
专家分:26
注 册:2010-5-22
收藏
得分:0 
能否详细说明下
2010-12-29 12:19
dzt0001
Rank: 13Rank: 13Rank: 13Rank: 13
等 级:蒙面侠
威 望:5
帖 子:1281
专家分:4998
注 册:2005-10-12
收藏
得分:0 
把你标红色那句,改成
response.write sql
response.end


看一下sql是什么内容
 

----我怎能在别人的苦难面前转过脸去----
2010-12-29 12:43
vbc
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:352
专家分:147
注 册:2006-12-30
收藏
得分:5 
数据不匹配一般都是文本与数字类型之类的不匹配,原因可能就是少了'或多了'

清远鹏程万里人才网:[url=http://www.]http://www.[/url]zq.,qy.
2010-12-29 16:30
eournet
Rank: 2
等 级:论坛游民
帖 子:103
专家分:26
注 册:2010-5-22
收藏
得分:0 
图片附件: 游客没有浏览图片的权限,请 登录注册

显示问题我看了下数据库解决了,就是在点击“查询”的时候出现
Microsoft JET Database Engine (0x80040E10)
至少一个参数没有被指定值。
/produit/piliang.asp, 第 297 行
错误提示,请再帮我看下
2010-12-29 21:44
tianhao_sjz
Rank: 1
等 级:新手上路
帖 子:2
专家分:6
注 册:2010-12-29
收藏
得分:5 
新手上路,啥时候才能自己写代码呀
2010-12-29 22:12
vbc
Rank: 3Rank: 3
等 级:论坛游侠
帖 子:352
专家分:147
注 册:2006-12-30
收藏
得分:0 
参数没有指定那还是你的SQL语句有问题,检查下吧

清远鹏程万里人才网:[url=http://www.]http://www.[/url]zq.,qy.
2010-12-30 09:26
aspic
Rank: 17Rank: 17Rank: 17Rank: 17Rank: 17
等 级:贵宾
威 望:51
帖 子:2258
专家分:8050
注 册:2008-2-18
收藏
得分:5 
sql语句的问题
2010-12-30 09:52
快速回复:标准表达式中数据类型不匹配,显示错误位置在红色部分,我看不错错在哪 ...
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.034409 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved