Why two rows getting added to my SQLite database table?
When I add data to my SQLite database table using the below code, it adds 2 identical rows to the table for some reason instead of one. using(SQLiteConnection conn= new SQLiteConnection(@"Data Source="+Path.GetFullPath("./TestDB.db")+";")) { conn.Open(); SQLiteCommand command = new SQLiteCommand("INSERT INTO Test(FirstName, LastName, Age) VALUES(‘Chris’,’Pine’,42)", conn); command.ExecuteNonQuery(); SQLiteDataAdapter adap = new SQLiteDataAdapter(command); DataTable dt = new… Read More Why two rows getting added to my SQLite database table?