package com.heyikeji;
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import jxl.NumberCell;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
public class sss {//发现命名方式还是这么屌
public static void main(String[] args) {
StringBuffer sql = new StringBuffer();
sql.append("INSERT INTO example VALUES ");//拼个SQL
List<String[]> ss = parse(new File("C:/Users/Administrator/Desktop/**.xls"));
if (ss.size()>0) {
for (int i = 2; i <ss.size(); i++) {
sql.append("(");
String[] sd = ss.get(i);
for (int j = 0; j < sd.length; j++) {
if (j != sd.length-1
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import jxl.NumberCell;
import jxl.Sheet;
import jxl.Workbook;
import jxl.read.biff.BiffException;
public class sss {//发现命名方式还是这么屌
public static void main(String[] args) {
StringBuffer sql = new StringBuffer();
sql.append("INSERT INTO example VALUES ");//拼个SQL
List<String[]> ss = parse(new File("C:/Users/Administrator/Desktop/**.xls"));
if (ss.size()>0) {
for (int i = 2; i <ss.size(); i++) {
sql.append("(");
String[] sd = ss.get(i);
for (int j = 0; j < sd.length; j++) {
if (j != sd.length-1