c-innovacion2/resoft/field_manager/process/bcb/team/edit_team_ok.jsp

22 lines
813 B
Plaintext

<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@include file="/include/db/db_connect.jsp"%>
<%@include file="/include/function/function.jsp"%>
<%request.setCharacterEncoding("utf-8");%>
<%
String c_team_name = r_call(request.getParameter("c_team_name"));
String c_exp = r_call(request.getParameter("c_exp"));
String c_project_no = r_call(request.getParameter("c_project_no"));
String c_team_no = r_call(request.getParameter("c_team_no"));
String sql_ok = "";
sql_ok = "update tbl_team set c_team_name = '"+ c_team_name +"', c_exp = '"+ c_exp +"' where c_no = " + c_team_no;
stmt2.execute(sql_ok);
%>
<script>
alert("Edit OK");
parent.location.href="list.jsp?c_project_no=<%=c_project_no%>"
</script>
<%
%>
<%@include file="/include/db/db_close.jsp"%>