用struts+jdbc如何将excel电子表.xls格导入oracle数据库 ORACLE的你提到SQLSERVER这里干嘛? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 oracle建数据源??? 你为什么要用桥接呢,直接下个class12.jar的oracle的数据驱动包就行了,至于怎么将excel导入到oracle,用apache的 poi包就可以,做个循环,遍历excel左右的行,里面在一个循环遍历每一列,然后插入就可 string strCon; strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("excel.xsl") + ";Extended Properties=Excel 8.0;"; OleDbConnection oleCon = new OleDbConnection(strCon); OleDbDataAdapter oleDa = new OleDbDataAdapter("select * from [sheet1$]", strCon); DataSet ds = new DataSet(); oleDa.Fill(ds); order by (select 1))是什么意思? oracle日志备份 如何实现远程连接sql server 求一存储过程 sql 中类似于C#中split()的方法? 基础 设了 set identity_insert tablename on 仍报错,急! 存储过程的简单问题? ADO問題:有關HIERARCHICAL RECORDSET. 数据库交互问题! 关于日期型字段空值问题 [SQL DBA问题]有关SQL下调用DOS命令管理的问题。
strCon = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + Server.MapPath("excel.xsl") + ";Extended Properties=Excel 8.0;";
OleDbConnection oleCon = new OleDbConnection(strCon);
OleDbDataAdapter oleDa = new OleDbDataAdapter("select * from [sheet1$]", strCon);
DataSet ds = new DataSet();
oleDa.Fill(ds);