⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sfxm.jsp

📁 基于J2EE的门诊划价系统 目 录 第1章 绪论 1 1.1 引言 1 1.2 概述 2 1.2.1 简要概述 2 1.2.2 目标 3 1.2.3 条件或限制 3 1.3 J2EE
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java"
	import="java.sql.*" errorPage=""%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>无标题文档</title>
		<style type="text/css">
<!--
body {
	background-color: #93A070;
}
-->
        </style>
		<link href="css.css" rel="stylesheet" type="text/css" />
		<style type="text/css">
<!--
.STYLE2 {
	color: #FFFFFF;
	font-size: 24px;
	font-weight: bold;
}
.STYLE6 {font-size: 16px; font-weight: bold; }
.STYLE7 {color: #000000}
.STYLE8 {
	font-size: 36px;
	font-weight: bold;
}
-->
        </style>
	</head>
	<jsp:useBean id="Rs" scope="page" class="MyWeb.db.DBManager" />
	<%
		String sql = null;
		java.sql.ResultSet rs = null;
	%>
	<%
		sql = "select * from shoufeixm";
		try {
			rs = Rs.executeQuery(sql);
		} catch (Exception e) {
			e.printStackTrace();
		}
	%>
	<body>
		<table width="500" border="0" align="center" bgcolor="#EEEEEE">
			<tr>
				<td height="30" colspan="2" align="center" valign="top"
					bgcolor="#BEC798" class="STYLE2 STYLE7">
					收费项目设置
				</td>
			</tr>
			<tr>
				<td width="152" height="200" valign="top">

					<table width="150" border="0" align="center">
						<tr>
							<td height="50" align="center">
								<span class="STYLE6"><a href="SFXM/shoufeiadd.jsp">新建收费项目</a>
								</span>
							</td>
						</tr>
						<tr>
							<td height="50" align="center">
								<span class="STYLE6"><a href="SFXM/shoufeiquery.jsp">查询收费项目</a>
								</span>
							</td>
						</tr>
						<tr>
							<td height="50" align="center">
								<span class="STYLE6"><a href="SFXM/shoufeidel.jsp">删除收费项目</a>
								</span>
							</td>
						</tr>
						<tr>
							<td height="50" align="center">
								<span class="STYLE6"><a href="main.jsp">返回</a> </span>
							</td>
						</tr>
					</table>
				</td>
				<td width="338" align="center" valign="middle">
					<span class="STYLE8">高效!公正!</span>
				</td>
			</tr>
			<tr>
				<td colspan="2" valign="top">
					<%
								out
								.println("<table width=\"550\"border=\"1\" align=\"center\" border=\"1\">");
						out.println("<tr><td>编号<td>种类<td>类型<td>名称<td>价格</tr>");
						while (rs.next()) {
							out.println("<tr><td><a href=\"SFXM/shoufeidel.jsp?xmbh="
							+ rs.getString("xmbh") + "\">" + rs.getString("xmbh")
							+ "</a><td>" + rs.getString("xmzl") + "<td>"
							+ rs.getString("xmlx") + "<td>" + rs.getString("xmmc")
							+ "<td>" + rs.getString("xmjg") + "</tr>");
						}
					%>
				</td>
			</tr>
		</table>
		<table width="500" height="45" border="0" align="center">

		</table>
		<hr />
	</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -