?? bulletinamendrun.jsp
字號:
<%--
模塊名稱:律所公告
模塊功能:公告修改
版 本:V1.0
著 作 人:蔡靜
著作日期:2001-11-12
使用說明:
主要技術說明:
參考文獻:法律事務設計書
修改歷史:= = = = = = = = = = = = = = = = = = = = = = = = = =
修改日期:2001-12-28
修 改 人:Celts
修改理由:內容轉化保存
修改出處:
= = = = = = = = = = = = = = = = = = = = = = = = = =
--%>
<%@ page contentType= "text/html; charset=gb2312" %>
<jsp:useBean id="db" class="dbconnection.DbConnection" scope="page" />
<jsp:useBean id="stringset" class="system.ExtendString" scope="page" />
<%
String bulletin_id, bulletin_title, bulletin_content;
bulletin_id = request.getParameter("bulletin_id");
bulletin_title = new String(request.getParameter("bulletin_title").getBytes("ISO8859-1"));
bulletin_content = new String(request.getParameter("bulletin_content").getBytes("ISO8859-1"));
String sql = "update t_bulletin set bulletin_title =' " + bulletin_title + "'";
sql = sql + ",bulletin_content = '" + bulletin_content + "'";
sql = sql + " where bulletin_id='" + bulletin_id + "'";
int num = db.executeUpdate(sql);
if (num <= 0) {
}
%>
<html>
<head>
<title>修改成功</title>
</head>
<body>
<script language="javascript">
alert("修改成功!");
location = "BulletinManage.jsp";
</script>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -