//试试下面的Connection conn = null;
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String str="jdbc:odbc:driver={Microsoft Visual FoxPro Driver};DBQ=path";
conn=DriverManager.getConnection(str);
}
catch(Exception e)
{}如果不行就用odbc数据源吧
try
{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String str="jdbc:odbc:driver={Microsoft Visual FoxPro Driver};DBQ=path";
conn=DriverManager.getConnection(str);
}
catch(Exception e)
{}如果不行就用odbc数据源吧
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货