string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + dbFile + ";Persist Security Info=False;Jet OLEDB:Database Password=" + pwd;
很重要 Jet OLEDB:Database Password= 需要这句,不然会报错 Could not find installable ISAM.
string connStr = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + dbFile + ";Persist Security Info=False;Jet OLEDB:Database Password=" + pwd;
很重要 Jet OLEDB:Database Password= 需要这句,不然会报错 Could not find installable ISAM.