Readonly connection string to an access database
问题 I'm trying to connect to an Access database file using a System.Data.OleDb.OleDbConnection. I need to connect in readonly mode because another application uses it at the same time. I can connect to the database in read/write no problem but can't seem to find anywhere the correct string for readonly. I've tried: Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Persist Security Info=False;Mode=Read Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Persist Security Info=False;Extended