读取数据库的问题
<%user=request("username")
sql="select * from user where username="&user
rs.open sql,conn,1,1
%>
<%For i = 1 To rs.PageSize
if rs.EOF then
exit for
end if
%>
<tr>
<td align=center><%=rs("username")%></td>
<td align=center><%=rs("sex")%></td>
</tr>
<%
rs.movenext
next
%>
为什么读不出数据?好郁闷