我想把 & Document.All.UserName.Value 这个列表框的值
通过form表单提交的方式传递给 chklogin2.asp
也就是 这个Chklogin2.Asp?usermingzi='hello">[/里的 怎么写才能传过去啊?
<form name="form" method="post" action="Chklogin2.Asp?usermingzi='hello">
<tr>
<td width="97%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35%" height="25" align="right">支 局:</td>
<td width="65%" height="25">
<select name="UserName" id="UserName" OnChange='VBScript:ChangType' >
<%
set rs=server.createobject("adodb.recordset")
sql= "select * from userbiao "
rs.open sql,conn,1,1
if rs.bof and rs.eof then
%>
<%else%>
<%do while not rs.eof%>
<option value="<%=rs("username")%>"><%=rs("username")%></option>
<%i=i+1
if i>=100000 then exit do
rs.movenext
loop
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</select> </td>
</tr>
<tr>
<td height="25" align="right">名 称:</td>
<td height="25">
<P><IFRAME HEIGHT="22" WIDTH="220" FRAMEBORDER=NO MARGINHEIGHT=0 SRC="BB.asp?IDD='孙波'" ID="TitleFrame"></IFRAME></P> </td>
</tr>
<tr>
<td height="25" align="right">密 码:</td>
<td height="25">
<input name="Password" type="password" maxlength="20" class="logininput"> </td>
</tr>
<tr>
<td height="25" align="right">验证码:</td>
<td height="25">
<input name="verifycode" size="4" maxlength="4">
<% = GetCode() %></td>
</tr>
<tr>
<td height="25" align="right"></td>
<td height="25"><input type=submit name=submit value="Login"> <input name="reset" type="reset" id="reset" value="Reset"></form>
通过form表单提交的方式传递给 chklogin2.asp
也就是 这个Chklogin2.Asp?usermingzi='hello">[/里的 怎么写才能传过去啊?
<form name="form" method="post" action="Chklogin2.Asp?usermingzi='hello">
<tr>
<td width="97%"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="35%" height="25" align="right">支 局:</td>
<td width="65%" height="25">
<select name="UserName" id="UserName" OnChange='VBScript:ChangType' >
<%
set rs=server.createobject("adodb.recordset")
sql= "select * from userbiao "
rs.open sql,conn,1,1
if rs.bof and rs.eof then
%>
<%else%>
<%do while not rs.eof%>
<option value="<%=rs("username")%>"><%=rs("username")%></option>
<%i=i+1
if i>=100000 then exit do
rs.movenext
loop
rs.close
set rs=nothing
end if
conn.close
set conn=nothing
%>
</select> </td>
</tr>
<tr>
<td height="25" align="right">名 称:</td>
<td height="25">
<P><IFRAME HEIGHT="22" WIDTH="220" FRAMEBORDER=NO MARGINHEIGHT=0 SRC="BB.asp?IDD='孙波'" ID="TitleFrame"></IFRAME></P> </td>
</tr>
<tr>
<td height="25" align="right">密 码:</td>
<td height="25">
<input name="Password" type="password" maxlength="20" class="logininput"> </td>
</tr>
<tr>
<td height="25" align="right">验证码:</td>
<td height="25">
<input name="verifycode" size="4" maxlength="4">
<% = GetCode() %></td>
</tr>
<tr>
<td height="25" align="right"></td>
<td height="25"><input type=submit name=submit value="Login"> <input name="reset" type="reset" id="reset" value="Reset"></form>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货