?? edituserinfo.jsp
字號:
<%@ page language="java" pageEncoding="gbk" import="dbManager.DBManager,java.sql.ResultSet"%>
<html>
<head>
<title>業主信息編輯頁面</title>
</head>
<body bgcolor="#e8edfa" ><center>
<%
DBManager db = new DBManager();
String s = request.getParameter("s");
s = s.substring(0,s.length()-1);
String editSql = "select * from t_user where userID =" + s;
ResultSet rs = db.getResult(editSql);
rs.next();
%>
<!-- 標題及按鈕操作表格-->
<table width="99%" >
<tr>
<td height="36" colspan="2" align="left"><div align="left"><strong><font size="2">編輯業主信息:</font></strong>
</div></td>
<td height="36"><img src="../../../images/queren1.gif" width="69" height="22" style="cursor:hand"
onmouseover="this.src='../../../images/queren2.gif'"
onmouseout="this.src='../../../images/queren1.gif'"
onclick="form1.submit()"></td>
<td height="36"><img src="../../../images/fanhui1.gif" width="69" height="22" style="cursor:hand"
onmouseover="this.src='../../../images/fanhui2.gif'"
onmouseout="this.src='../../../images/fanhui1.gif'"
onclick="window.close();"></td>
</tr>
</table>
<form name="form1" method="post" action="../../../editUserInfo.do">
<input type="hidden" name="userID" value="<%=rs.getString("userID") %>"/>
<table width="99%" style="font-size: x-small">
<tr>
<td style="width:4%"><div align="left">業主姓名</div></td>
<td style="width:6%"><input type="text" name="userName" style="width:100%;background-color:#bcd7f8" readonly="readonly"
value=<%=rs.getString("userName") %> ></td>
<td style="width:4%">聯系電話</td>
<td style="width:6%"><input type="text" name="phone" style="width:100%" value=<%=rs.getString("phone") %> ></td>
</tr>
<tr>
<td style="width:4%">身份證號</td>
<td colspan="3"><input type="text" name="cardNum" style="width:100%" value=<%=rs.getString("cardNum") %> ></td>
</tr>
</table>
</form>
</center>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -