- 浏览: 46113 次
- 性别:
- 来自: 南京
最新评论
文章列表
<html>
<title>scroll</title>
</head>
<body>
<div>
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa
<br/><br/>aaaa ...
import java.io.FileInputStream;
import java.io.InputStream;
import jxl.Cell;
import jxl.Sheet;
import jxl.Workbook;
public class Excel {
public static void readExcel(String FileName){
try{
jxl.Workbook jxl = null;
InputStream in = new FileInputStream(FileName);
jxl = Workbook.getW ...
//查询方法 返回值是以list形式返回的
public static List<Map<String, String>> executeQuery(String sql){
List<Map<String,String>> list = new ArrayList<Map<String,String>>();
ResultSet rs = null;
Connection conn = null;
PreparedStatement stm = null;
try{
conn = getCon ...