文件:userdetail.asp,用来显示会员列表的详细信息。
技术信息(用于支持人员)
- 错误类型:
Microsoft JET Database Engine (0x80040E10)
至少一个参数没有被指定值。
/ly/ly/userdetail.asp, 第 13 行
- 浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; MyIE2; .NET CLR 1.1.4322)
出错代码为:(加亮行)
请高手帮忙!
<%@ LANGUAGE="VBSCRIPT" %>
<!--#include file="conn.asp"-->
<% '====================判断管理员是否有登陆=====================
if session("name")="" and session("pass")="" then
response.write"<SCRIPT language=JavaScript>alert('请您登陆后,再进入这个页面!');"
response.write"this.location.href='default.asp';</SCRIPT>"'转向到default.asp
end if
%>
<%
Gnum=request("Gnum")
set rs=server.createobject("adodb.recordset")
sql="select * from admin where Gnum="&Gnum&""
rs.open sql,conn,1,1
%>
<html>
<head>
<title>会员资料</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body text="#000000">
<div align="center">
<p>
<br>
</p>
<input type=hidden name=Gnum value=<%=rs("Gnum")%>>
<TABLE cellSpacing=1 cellPadding=4 width=595 bgColor=#FFFFFF height="256">
<TBODY>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 width="583" height="10" bgcolor="#006500"></TD>
</TR>
<TR vAlign=top bgColor=#e1f0ff>
<TD class=main1 width="583" height="32" bgcolor="#DAE9D1"><font color="#0000FF">会员资料----</font></TD>
</TR> - <tr>
<TD class=main1 width=583 bgColor=#F6F6F6 height=100 align="right">
<div align="center">
<center>
<table border="1" cellpadding="0" width="100%" cellspacing="0" bordercolorlight="#008000" bordercolordark="#FFFFFF" height="119">
<tr>
<td width="16%" height="23" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>会员级别:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="23"><%if rs("Gjibie")="普通会员" then%><input type="radio" value="普通会员" checked name="Gjibie">普通会员
<input type="radio" name="Gjibie" value="vip会员">VIP会员<%else if rs("Gjibie")="vip会员" then%>
<input type="radio" value="普通会员" name="Gjibie">普通会员
<input type="radio" name="Gjibie" checked value="vip会员">VIP会员<%end if%> <%=rs("Gjibie")%></td>
<td width="16%" bgcolor="#DDE8FF" align="right" class=main1 height="23"><div align="center"><strong>会员编号:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="23"> <%=rs("Gnum")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>姓名:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gname")%></td>
<td width="16%" bgcolor="#DDE8FF" align="right" class=main1 height="24"><div align="center"><strong>性别:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gsex")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>年龄:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gage")%></td>
<td width="16%" bgcolor="#DDE8FF" align="right" class=main1 height="24"><div align="center"><strong>邮编:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gpost")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>详细地址:</strong></div></td>
<td bgcolor="#F6F6F6" colspan="3" class=main1 height="24"> <%=rs("Gadd")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>身份证号码:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("GID")%></td>
<td width="16%" bgcolor="#DDE8FF" class=main1 height="24" align="right"><div align="center"><strong>其它证件号:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("GID2")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>联系电话:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gtel")%></td>
<td width="16%" bgcolor="#DDE8FF" class=main1 height="24" align="right"><div align="center"><strong>传真号码:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("GFax")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>电子邮箱:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gmail")%></td>
<td width="16%" bgcolor="#DDE8FF" class=main1 height="24" align="right"><div align="center"><strong>手机号码:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gmob")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>保证金额:</strong></div></td>
<td width="45%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gmon")%></td>
<td width="16%" bgcolor="#DDE8FF" class=main1 height="24" align="right"><div align="center"><strong>外汇平台:</strong></div></td>
<td width="23%" bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gpt")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>介绍人编号:</strong></div></td>
<td bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gjscode")%></td>
<td bgcolor="#DDE8FF" class=main1 height="24"><div align="center"><strong>介绍人姓名:</strong></div></td>
<td bgcolor="#F6F6F6" class=main1 height="24"><%=rs("Gjsname")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>添加日期:</strong></div></td>
<td bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gtime")%></td>
<td bgcolor="#DDE8FF" class=main1 height="24"><div align="center"><strong>入会时间:</strong></div></td>
<td bgcolor="#F6F6F6" class=main1 height="24"> <%=rs("Gadddata")%></td>
</tr>
<tr>
<td width="16%" height="24" align="right" bgcolor="#DDE8FF" class=main1><div align="center"><strong>简短描述:</strong></div></td>
<td height="24" colspan="3" bgcolor="#F6F6F6" class=main1> <%=rs("Gtxt")%> <div align="center"></div></td>
</tr>
<div align="center"></div>
</table>
</div>
</TD>
<TR bgColor=#e1f0ff>
<TD class=main1 width="583" height="49" bgcolor="#DAE9D1">
<p align="center">
<input class="main" type="submit" value="验证通过" name="B1"><%end if%><input class="main" type="button" size="3" value="返回" name="Submit2" onclick="javascript:window.history.go(-1)">
</TD>
</TR>
<TR bgColor=#e1f0ff>
<TD class=main1 width="583" height="4" bgcolor="#398A00"></TD>
</TR>
</TBODY>
</TABLE>
</form>
</div>
<p align="center">
</body>
</html>