Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
388 views
in Technique[技术] by (71.8m points)

c# - Unable to open database for Microsoft Edge

While Capture the Microsoft edge browser history it shows the error Unable to open database in this line (connection.Open();)...

string ME = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"MicrosoftWindowsWebCacheWebCacheV01.dat";

SQLiteConnection connection = new SQLiteConnection("Data Source=" + ME + ";Version=3;New=False;Compress=True;");
connection.Open();
SQLiteDataAdapter sd = new SQLiteDataAdapter("SELECT * FROM " + "Container_n", connection);
DataSet ds = new DataSet();
sd.Fill(ds);
dataGridView1.DataSource = ds.Tables[0];

connection.Close();

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...