当前位置: 代码迷 >> ColdFusion >> Provider '80020005',该怎么解决
  详细解决方案

Provider '80020005',该怎么解决

热度:5859   发布时间:2013-02-26 00:00:00.0
Provider '80020005'
Provider '80020005' 

类型不匹配。 

\admin\add_products.asp, line 167


<!--#include file="../inc/Conn.asp" -->
<!--#include file="seeion.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="stylesheet" type="text/css" id="css" href="images/style.css">
<title>增加产品</title>
<script language="javascript">
function showUploadDialog(s_Type, s_Link, s_Thumbnail){
var arr = showModalDialog("YFeWebEditor/dialog/i_upload.htm?style=popup&type="+s_Type+"&link="+s_Link+"&thumbnail="+s_Thumbnail, window, "dialogWidth:0px;dialogHeight:0px;help:no;scroll:no;status:no");}
</script>
<script language = "JavaScript">
<%
Set Rs= Server.CreateObject("Adodb.Recordset")
Rs.Open "SELECT * FROM SmallClass ORDER BY SmallClassID asc",conn,1,1
%>
var onecount;
onecount=0;
subcat = new Array();
<%
  i = 0
  Do While Not Rs.eof 
%>
subcat[<%=i%>] = new Array("<%= Trim(Rs("SmallClassName"))%>","<%= Rs("BigClassID")%>","<%= Rs("SmallClassID")%>");
<%
  i = i + 1
  Rs.MoveNext
  Loop
  Rs.Close
%>
  
onecount=<%=i%>;

function changelocation(locationid,formname)
  {
  formname.SmallClassID.length = 0; 

  var locationid = locationid;
  var i;
  for (i = 0;i < onecount; i++)
  {
  if (subcat[i][1] == locationid)
  {
  formname.SmallClassID.options[formname.SmallClassID.length] = new Option(subcat[i][0], subcat[i][2]);
  }  
  }
   
  }  
</script>
</head>
<body>
<form name="form1" method="post" action="add_products.asp?action=add">
<table width="95%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#666666">
  <tr>
  <td height="30" background="images/bg_list.gif"><div style="padding-left:10px; font-weight:bold; color:#FFFFFF">增加产品</div></td>
  </tr>
  <tr>
  <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="5" cellspacing="0" >
  <tr onmouseover="style.backgroundColor='#EEEEEE'" onmouseout="style.backgroundColor='#F1F5F8'" bgcolor="#F1F5F8" >
  <td height="28" width="16%" class="td">产品标题 <font color="#FF0000">*</font></td>
  <td width="84%" class="td">
  <input name="title" type="text" size="40" />
  <label>排序ID:
  <input name="px_id" type="text" id="px_id" value="1000" size="10" onkeyup="value=value.replace(/[^\d]/g,'') "onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
  相关解决方案