How to connect to sqlite database with password

前端 未结 3 2066
没有蜡笔的小新
没有蜡笔的小新 2021-02-07 10:25

I have a sqlite database and I want to connect from my C# program using a password for the database. I am using Navicat and I set encrypt database file with password \"test\" an

3条回答
  •  我在风中等你
    2021-02-07 10:52

    you can provide password via connection string;

    from ConnectionStrings.com

    Data Source=filename;Version=3;Password=myPassword;

    Also, have a look at his link

    hope it helps

提交回复
热议问题