<html>
<head>
<title>图片显示示例</title>
</head>
<% 
stuid=request.Form("stuid")
set conn=server.CreateObject("ADODB.Connection")
strcnn="dbq="&server.MapPath("jxgl.mdb")& _
";driver={microsoft access driver (*.mdb)}"
conn.open strcnn
set rs=server.CreateObject("adodb.recordset")
strsql="select * from xsxx where 学号='"&stuid&"'"
rs.open strsql,conn,1,3
if rs.eof then 
response.Write "查无此人,单击<a href=9-16.htm>返回</a>"
response.End()
end if
%>
<body>
<table align="center" border="0">
 <tr>
  <td colspan="3">学生基本信息</td>
 </tr>
 <tr>
  <td>学号</td>
  <td><%=rs("学号")%></td>
  <td rowspan="5">
    <img src=9-16-show.asp?stuid=<%=rs("学号")%> width="91" height="138" border="3" align="middle">
  </td>
 </tr>
 <tr>
  <td>姓名</td>
  <td><%=rs("姓名")%></td>
  </tr>
  <tr>
  <td>专业</td>
  <td><%=rs("专业")%></td>
  </tr>
 <tr>
  <td>性别</td>
  <td><%=rs("性别")%></td>
 </tr>
 <tr>
  <td>出生日期</td>
  <td><%=rs("出生日期")%></td>
 </tr>
 </table>
</body>
</html>
