📄 stuifo.asp
字号:
<html>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>学生信息</title>
</head>
<%
dim conn,connstr
connstr="Driver={sql server};UID=sa;PWD=sa;database=zikao;server=BILLGATES"
set conn=server.createobject("ADODB.CONNECTION")
conn.open connstr
set rs=Server.CreateObject("ADODB.Recordset")
sql="select * from register where sno= '"&session("idstr")&"'"
rs.open sql,conn,3
%>
<body>
<p> </p>
<table width="521" height="588" border="1">
<tr>
<th scope="col" colspan="2">个人信息</th>
</tr>
<tr>
<th width="175" scope="col">学号</th>
<th scope="col"> <%=rs(0)%></th>
</tr>
<tr>
<th width="175" scope="col">姓名</th>
<th scope="col"><%=rs(1)%> </th>
</tr>
<tr>
<th width="175" scope="col">性别</th>
<th scope="col"><%=rs(2)%> </th>
</tr>
<tr>
<th width="175" scope="col">年龄</th>
<th scope="col"> <%=rs(3)%></th>
</tr>
<tr>
<th width="175" scope="col">所在系</th>
<th scope="col"> <%=rs(4)%></th>
</tr>
<tr>
<th scope="row">专业</th>
<td align="center"> <%=rs(5)%></td>
</tr>
<tr>
<th scope="row">籍贯</th>
<td align="center"><%=rs(6)%> </td>
</tr>
<tr>
<th scope="row">民族</th>
<td align="center"> <%=rs(7)%></td>
</tr>
<tr>
<th scope="row">身份证</th>
<td align="center"> <%=rs(8)%></td>
</tr>
<tr>
<th scope="row">E_MAIL</th>
<td align="center"> <%=rs(9)%></td>
</tr>
<tr>
<th scope="row">电话</th>
<td align="center"><%=rs(10)%> </td>
</tr>
<tr>
<th scope="row">地址</th>
<td align="center"> <%=rs(11)%></td>
</tr>
<tr>
<th scope="row">缴费</th>
<td align="center"><%=rs(12)%> </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -