锘??xml version="1.0" encoding="utf-8" standalone="yes"?>精品国内亚洲2022精品成人,中文字幕一区二区三区乱码图片,91麻豆精品国产91久久久久推荐资源 http://www.aygfsteel.com/zjd9961/archive/2006/07/28/60460.html椋橀歌?/dc:creator>椋橀歌?/author>Fri, 28 Jul 2006 00:55:00 GMThttp://www.aygfsteel.com/zjd9961/archive/2006/07/28/60460.htmlhttp://www.aygfsteel.com/zjd9961/comments/60460.htmlhttp://www.aygfsteel.com/zjd9961/archive/2006/07/28/60460.html#Feedback2http://www.aygfsteel.com/zjd9961/comments/commentRss/60460.htmlhttp://www.aygfsteel.com/zjd9961/services/trackbacks/60460.html聽聽聽聽聽聽聽 csv鏂囦歡鏍煎紡鏄敤鐨勬瘮杈冨鐨勶紝鍓嶅嚑澶╁湪緗戜笂鎵懼埌涓涓┍鍔ㄥ彲浠ユ妸榪欑鏍煎紡鐨勬枃浠跺綋浣滄暟鎹簱涓鏍瘋鍙栥?/div>
鎿嶄綔姝ラ濡備笅錛?br />絎竴銆佷笅杞介┍鍔ㄧ▼搴?a >http://sourceforge.net/projects/csvjdbc
絎簩銆佹妸csvjdbc.jar鏂囦歡鏀懼埌classpath璺緞涓幓銆?/div>
絎笁銆佷緥瀛愬涓?
import java.sql.*;
import org.relique.jdbc.csv.CsvDriver;
public class JdbcCsv
{
public static void main(String[] args)
{
try
{
// load the driver into memory
Class.forName("org.relique.jdbc.csv.CsvDriver");
// create a connection. The first command line parameter is assumed to
// be the directory in which the .csv files are held
Connection conn = DriverManager.getConnection("jdbc:relique:csv:E:\\fund\\test\\");
// create a Statement object to execute the query with
Statement stmt = conn.createStatement();
// Select the ID and NAME columns from sample.csv
ResultSet results = stmt.executeQuery("SELECT djwd,閾惰 from czcg");
// dump out the results
while (results.next())
{
System.out.println("djwd= " + results.getString("djwd") + " 閾惰= " + results.getString("閾惰"));
}
// clean up
results.close();
stmt.close();
conn.close();
}
catch(Exception e)
{
System.out.println("Oops-> " + e);
}
}
}


]]> 主站蜘蛛池模板: 怀远县| 正宁县| 祁东县| 达尔| 阳高县| 库车县| 普格县| 青冈县| 涪陵区| 平舆县| 定日县| 公主岭市| 龙山县| 元江| 赞皇县| 额济纳旗| 德兴市| 青州市| 沭阳县| 西丰县| 泸西县| 白玉县| 新乡县| 辉县市| 彭泽县| 昔阳县| 平罗县| 亚东县| 全椒县| 明星| 江油市| 克东县| 武威市| 沧州市| 册亨县| 常熟市| 沙洋县| 大足县| 修文县| 博湖县| 定襄县|