菜鸟ASP数据库问题 - Web 开发 / ASP
我是做.NET的可是我的毕业设计是做ASP网上书店一个很经典的问题,前几天小弟做的时候出现了点问题,错误代码
济南大学网上书店中心
ADODB.Recordset 错误 '800a0bb9'
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
/default.asp,行 42
源代码如下:
set cn=Server.CreateObject("ADODB.Connection")
cn.open "Driver={sql serVer};Database=bookstore;Server=NIIT-B35A3B4FB5;UID=wangzhen;PWD=123456"
set rs=Server.CreateObject("ADODB.Recordset")
set cn1=Server.CreateObject("ADODB.Connection")
cn1.open "Driver={sql serVer};Database=bookstore;Server=NIIT-B35A3B4FB5;UID=wangzhen;PWD=123456"
set rs1=Server.CreateObject("ADODB.Recordset")
dim customer_id,password,sql
customer_id=request("customer_id")
password=request("password")
session("customer_id")=customer_id
session("password")=password
if customer_id<>"" and password<>"" then
rs1.open sql="Select customer_Name from customers where customer_id="&customer_id&" and password='"&password&"'",cn1此处为第42行
'如果用户帐号和密码正确,则进行下一步定书操作
if not rs1.eof then
response.Write"<font size=4 color=red>"&"你好!"&customer_Name&"顾客。"&"</font>
相关问答:
在asp里怎么调用java写的webservice方法,有很多方法
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
万网的服务器支持伪静态的,直接用rewrite在web.config文件写规则,也不用安装组件就可以实现伪静态,但是在时代互联服务器就用不了了,咨询它的客服,他说他们服务器(基本型C)不支持伪静态的.请问一下各位我该用什么方法 ......
asp.net批量上传图片最好有源码,在线等!!!!!!!
源码很长的。
参考
C# code:
HttpFileCollection files = HttpContext.Current.Request.Files;
if (files.Count <= 1)
{
......
C# code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Runtime.InteropServices;
nam ......
大家好,我现在有一个用asp写的聊天室,现在的想添加一个功能,就是当有人上线的时候,发出提示,比如声音响一下,现在想用java实现这个功能,请问大家怎么实现?
谢谢了,我会加分的
asp和java整合到一起去?何必 ......