I've already searched around and so far, what I've found isn't working for some reason :\
string connection = "Data Source=DB.db;Version=3;Pooling=True;Max Pool Size=100;";
SQLiteConnection sqlc = new SQLiteConnection(connection);
sqlc.Open();
sqlc.SetPassword("password");
sqlc.Close();
Gives me the error
An unhandled exception of type 'System.Windows.Markup.XamlParseException' occurred in PresentationFramework.dll
Additional information: 'The invocation of the constructor on type 'Hotel_Manager.MainWindow' that matches the specified binding constraints threw an exception.' Line number '3' and line position '9'.
Can someone tell me what I'm doing wrong?
Note that I already have a program that interacts with the DB working. It's only now that I'm trying to password protect it.