ADO连接有密码的Access数据库

                            ADO连接有密码的Access数据库:
ADOConn.ConnectionString:='Provider=Microsoft.Jet.OLEDB.4.0;Data Source='+ExtractFilePath(Application.ExeName)+'Data\data.mdb;Persist Security Info=False;Jet OLEDB:Database Password=12345'; //注意最后一段Jet OLEDB:Database Password=12345' 格式要一样,12345是ACCESS密码  
                                

查看回复