我已经四处搜索过,到目前为止,我发现的因某些原因无法正常工作:\
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();
给我错误
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'.
有人能告诉我我做错了吗?
请注意,我已经有一个与数据库工作交互的程序。我现在才尝试密码保护它。